/* Collagen Clinic NI - shared styles */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #ffffff; color: #1a1a1a; font-family: 'Open Sans', system-ui, sans-serif; }
a { color: #1a1a1a; }
a:hover { color: #000000; }
img, video { max-width: 100%; }
summary { list-style-position: outside; }
:focus-visible { outline: 3px solid #b07a5a; outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #ffffff; color: #0b0b0b; padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #0b0b0b; color: #ffffff; }
.hdr { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 16px; }
.logo { color: #ffffff; text-decoration: none; display: flex; flex-direction: column; flex: 0 0 auto; }
.logo:hover { color: #ffffff; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 24px; letter-spacing: 0.05em; line-height: 1; white-space: nowrap; }
.logo-tag { font-size: 10px; letter-spacing: 0.3em; color: #d6d0cc; margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav > a, .treat > summary { color: #ffffff; text-decoration: none; font-size: 15px; padding: 12px; }
.site-nav > a:hover, .treat > summary:hover { color: #e9c9b4; }
.site-nav > a.active, .treat > summary.active { color: #e9c9b4; font-weight: 700; }
.site-nav > a.book { background: #e9c9b4; color: #0b0b0b; font-weight: 700; font-size: 14px; letter-spacing: 0.05em; padding: 12px 20px; border-radius: 6px; margin-left: 8px; }
.site-nav > a.book:hover { background: #f3dccd; color: #0b0b0b; }
.treat { position: relative; }
.treat > summary { cursor: pointer; display: flex; align-items: center; gap: 6px; list-style: none; }
.treat > summary::-webkit-details-marker { display: none; }
.treat[open] > summary svg { transform: rotate(180deg); }
.treat-list { position: absolute; top: 48px; left: 0; background: #ffffff; border-radius: 10px; box-shadow: 0 12px 32px rgba(0,0,0,0.25); padding: 10px; width: 270px; display: flex; flex-direction: column; }
.treat-list a { padding: 10px 12px; text-decoration: none; border-radius: 6px; color: #1a1a1a; }
.treat-list a:hover { background: #f7f2ee; }
.treat-list a.strong { font-weight: 700; }
.menu-btn { display: none; margin-left: auto; background: transparent; border: 0; color: #ffffff; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; padding: 0; }

/* Footer */
.site-footer { background: #0b0b0b; color: #d6d0cc; font-size: 14px; line-height: 1.6; }
.ftr { max-width: 1200px; margin: 0 auto; padding: 48px 24px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.ftr p { margin: 0 0 6px; }
.ftr a { color: #ffffff; }
.ftr a:hover { color: #e9c9b4; }
.f-name { font-family: 'Playfair Display', serif; font-size: 20px; color: #ffffff; letter-spacing: 0.04em; margin-bottom: 10px !important; }
.f-head { color: #e9c9b4; font-weight: 700; letter-spacing: 0.12em; font-size: 12px; text-transform: uppercase; margin-bottom: 10px !important; }
.f-copy { max-width: 1200px; margin: 0 auto; padding: 18px 24px 32px; border-top: 1px solid #2c2827; color: #a39a94; }

/* Phone booking bar */
.mobile-bar { display: none; }
.swipe-hint { display: none; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #7a5a48; }

@media (max-width: 1060px) {
  .menu-btn { display: flex; }
  .hdr { flex-wrap: wrap; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; margin: 4px 0 8px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav > a, .treat > summary { font-size: 18px; padding: 14px 0; border-bottom: 1px solid #2c2827; }
  .treat > summary { justify-content: space-between; }
  .treat-list { position: static; box-shadow: none; background: transparent; width: auto; padding: 4px 0 10px 14px; }
  .treat-list a { color: #e6e0dc; padding: 10px 0; }
  .treat-list a:hover { background: transparent; color: #e9c9b4; }
  .treat-list a.strong { color: #e9c9b4; }
  .site-nav > a.book { margin: 18px 0 4px; text-align: center; padding: 16px; border-bottom: 0; }
}

@media (max-width: 700px) {
  .logo-name { font-size: 19px; }
  .logo-tag { font-size: 8px; letter-spacing: 0.28em; }
  .hdr { padding: 10px 16px; }
  body { padding-bottom: 72px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #ffffff; border-top: 1px solid #e2d8d1; box-shadow: 0 -4px 16px rgba(0,0,0,0.08); }
  .mobile-bar a { text-align: center; font-weight: 700; padding: 13px 8px; border-radius: 8px; text-decoration: none; }
  .mb-book { background: #0b0b0b; color: #ffffff !important; }
  .mb-call { border: 1.5px solid #0b0b0b; color: #0b0b0b; }

  /* the design's desktop sizes, scaled for phones */
  main h1 { font-size: 34px !important; }
  main h2 { font-size: 27px !important; }
  main blockquote { font-size: 22px !important; }
  main [style*="padding: 80px 24px"], main [style*="padding: 72px 24px"] { padding-top: 48px !important; padding-bottom: 48px !important; }
  main [style*="padding: 64px 24px"] { padding-top: 44px !important; padding-bottom: 44px !important; }
  main [style*="padding: 72px 24px 0"] { padding-top: 48px !important; padding-bottom: 0 !important; }
  main [style*="padding: 36px 40px"] { padding: 26px 22px !important; }
  main [style*="padding: 0 24px"], main [style*="padding: 28px 24px"], main [style*="padding: 32px 24px"], main [style*="padding: 72px 24px"], main [style*="padding: 80px 24px"], main [style*="padding: 64px 24px"] { padding-left: 16px !important; padding-right: 16px !important; }
  main [style*="grid-template-columns: repeat(auto-fit"] { grid-template-columns: minmax(0, 1fr) !important; }
  main [style*="height: 480px"], main [style*="height: 460px"] { height: 280px !important; }
  main [style*="height: 520px"] { height: 420px !important; }
  main [style*="gap: 56px"], main [style*="gap: 48px"] { gap: 28px !important; }
  main aside[style*="sticky"] { position: static !important; }
  main [style*="font-size: 19px"] { font-size: 17px !important; }
  .swipe-hint { display: block; }
  .ftr { padding: 36px 16px 16px; }
  .f-copy { padding: 16px 16px 24px; }
}
