/* =========================================================
   MEDISUE — GLOBAL STYLES
   Brand colours come from the Medisue logo (red + gold).
   ========================================================= */

:root {
  --red: #DA2A41;
  --red-dark: #B71D33;
  --gold: #F3C604;
  --plum: #2B2142;
  --plum-2: #3B2F59;
  --ink: #1F1A26;
  --text: #4F4957;
  --muted: #776F80;
  --blush: #FCF1F2;
  --blush-2: #F7E3E6;
  --line: #ECE2E4;
  --white: #FFFFFF;

  --serif: 'Rufina', Georgia, 'Times New Roman', serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1200px;
  --gutter: 24px;
  --section: clamp(64px, 9vw, 104px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
strong { font-weight: 500; color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); }
h3 { font-size: 1.4rem; line-height: 1.3; }
h4 { font-family: var(--sans); font-size: 1rem; font-weight: 500; }

p + p { margin-top: 1em; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 68ch; }
.lead { font-size: 1.12rem; color: var(--text); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center.prose, .center .prose { margin-left: auto; margin-right: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 2000;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 500;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--blush); color: var(--red-dark); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--red); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }
.brand img { width: 232px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 26px; }
.nav-list a, .dropdown-btn {
  font-family: var(--sans); font-size: 0.95rem; font-weight: 400; color: var(--ink);
  text-decoration: none; background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
}
.nav-list a:hover, .dropdown-btn:hover { color: var(--red); }
.nav-list a[aria-current="page"] { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
.dropdown-btn svg { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.dropdown-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-link { color: var(--muted) !important; font-size: 0.88rem !important; }

.has-dropdown { position: relative; }
.dropdown {
  list-style: none; position: absolute; top: calc(100% + 14px); left: -18px; min-width: 240px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(43,33,66,.12); padding: 10px;
  display: none;
}
.dropdown.open { display: block; }
.dropdown a { display: block; padding: 9px 12px; border-radius: 8px; }
.dropdown a:hover { background: var(--blush); }
.dropdown a[aria-current="page"] { box-shadow: none; background: var(--blush); }

.menu-toggle {
  display: none; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 0.9rem; color: var(--ink); padding: 8px 0;
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: transform .2s;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .menu-toggle { display: inline-flex; }
  .brand img { width: 180px; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; max-height: calc(100vh - 80px); overflow-y: auto;
    box-shadow: 0 18px 30px rgba(43,33,66,.08);
  }
  .main-nav.open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a, .dropdown-btn { width: 100%; padding: 14px 0; font-size: 1rem; justify-content: space-between; }
  .nav-list a[aria-current="page"] { box-shadow: none; }
  .dropdown { position: static; box-shadow: none; border: 0; padding: 0 0 10px 12px; min-width: 0; }
  .dropdown a { padding: 10px 0; }
  .dropdown a:hover, .dropdown a[aria-current="page"] { background: none; }
  .nav-cta { margin-top: 20px; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-blush { background: var(--blush); }
.section-plum { background: var(--plum); color: #DCD5E8; }
.section-plum h2, .section-plum h3 { color: #fff; }
.section-plum a { color: var(--gold); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.kicker {
  display: inline-block; font-size: 0.82rem; font-weight: 500; letter-spacing: .02em;
  color: var(--red); margin-bottom: 10px;
}
.section-plum .kicker { color: var(--gold); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--blush); overflow: hidden; }
.page-hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center;
  padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px);
}
.page-hero h1 { margin-bottom: 18px; }
.page-hero .lead { max-width: 54ch; }
.page-hero-media { position: relative; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.85rem; margin-bottom: 16px; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); color: #C9BCC0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

@media (max-width: 860px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-media { order: -1; }
  .page-hero-media img { aspect-ratio: 16 / 10; }
}

/* ---------- Signature framed photo (red offset block) ---------- */
.framed { position: relative; padding: 0 0 18px 18px; }
.framed::before {
  content: ""; position: absolute; left: 0; bottom: 0; width: 62%; height: 72%;
  background: var(--red); border-radius: 4px; z-index: 0;
}
.framed img { position: relative; z-index: 1; width: 100%; border-radius: 4px; object-fit: cover; }
.framed.right { padding: 0 18px 18px 0; }
.framed.right::before { left: auto; right: 0; }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split.top { align-items: start; }
.split-text h2 { margin-bottom: 18px; }
.split img.cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
}

/* ---------- Lists ---------- */
.checklist { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 16px; height: 9px;
  border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg);
}
.checklist.cols { grid-template-columns: 1fr 1fr; gap: 10px 32px; }
@media (max-width: 640px) { .checklist.cols { grid-template-columns: 1fr; } }

/* Steps — only used for real sequences (consultation → treatment → follow-up) */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.steps li { counter-increment: step; border-top: 2px solid var(--line); padding-top: 18px; }
.steps li::before {
  content: counter(step); display: block; font-family: var(--serif); font-size: 2rem; color: var(--red); line-height: 1; margin-bottom: 10px;
}
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { font-size: 0.95rem; }

/* Key facts (sessions, duration…) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.fact { background: #fff; padding: 22px 22px 20px; }
.fact dt { font-size: 0.82rem; color: var(--muted); margin-bottom: 4px; }
.fact dd { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); line-height: 1.35; }
.facts-note { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }

/* Note box (contraindications etc.) */
.note {
  border-left: 3px solid var(--gold); background: #FFFBEA; padding: 20px 24px; border-radius: 0 8px 8px 0; margin-top: 28px;
}
.note h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin-bottom: 6px; }
.note p, .note li { font-size: 0.95rem; }

/* Two-column info blocks */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }
.info-grid h3 { margin-bottom: 10px; }

/* ---------- Service cards ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.service-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; transition: transform .35s ease; }
.service-card .img-wrap { overflow: hidden; border-radius: 4px; }
.service-card:hover img { transform: scale(1.03); }
.service-card h3 { margin: 18px 0 6px; transition: color .2s; }
.service-card:hover h3 { color: var(--red); }
.service-card p { font-size: 0.95rem; }
.service-card .more { margin-top: 10px; font-size: 0.9rem; font-weight: 500; color: var(--red); }
@media (max-width: 960px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

/* ---------- Treatments list (facials) ---------- */
.treatment-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.treatment { border: 1px solid var(--line); border-radius: 12px; padding: 26px; background: #fff; }
.treatment h3 { font-size: 1.25rem; margin-bottom: 6px; }
.treatment .for { font-size: 0.92rem; color: var(--muted); margin-bottom: 10px; }
.treatment .checklist { margin-top: 8px; gap: 6px; }
.treatment .checklist li { font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.quote { background: #fff; border-radius: 12px; padding: 30px 30px 26px; border: 1px solid var(--line); }
.quote .stars { color: var(--gold); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 12px; }
.quote blockquote p { font-family: var(--serif); font-size: 1.08rem; line-height: 1.65; color: var(--ink); }
.quote figcaption { margin-top: 14px; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ (native details) ---------- */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-weight: 500; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 300; color: var(--red);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--red); }
.faq .answer { padding: 0 0 22px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 56px var(--gutter); flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.cta-band p { color: #FFE3E7; margin-top: 8px; }
.cta-band .btn-row { margin-top: 0; }

/* ---------- Brand strip ---------- */
.brands { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 56px; }
.brands img { height: 52px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.brands img:hover { filter: none; opacity: 1; }
.brands-caption { text-align: center; color: var(--muted); font-size: 0.9rem; margin-bottom: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: #CFC7DD; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.footer-name { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin-bottom: 10px; }
.footer-title { font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: var(--gold); margin-bottom: 14px; letter-spacing: .02em; }
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer a { color: #E8E2F0; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.9; }
.hours { display: grid; grid-template-columns: auto; gap: 0; }
.hours dt { color: #fff; font-weight: 400; }
.hours dd { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: 0.85rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Jump links (Other services) ---------- */
.jump-nav { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 32px; padding-bottom: 8px; }
.jump-nav .btn { padding: 9px 18px; font-size: 0.88rem; font-weight: 400; }

/* ---------- Values ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.values h3 { font-size: 1.2rem; margin-bottom: 8px; color: #fff; }
.values p { font-size: 0.95rem; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 22px; }
.contact-list h3 { font-family: var(--sans); font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list p { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--red); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.hours-table th, .hours-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 300; }
.hours-table td { text-align: right; color: var(--ink); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 12px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.not-found { padding: 120px 0; text-align: center; }
.not-found h1 { margin-bottom: 14px; }
.not-found .btn-row { justify-content: center; }
