/* =============================================
   Magnolia Massage & Spa — shared stylesheet
   Loads once, cached across all pages
   ============================================= */

/* ── RESET ──────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Open Sans',Arial,sans-serif;
  font-size:14px;color:#444;background:#fff;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit;transition:color .2s}

/* ── TOPBAR ─────────────────────────────────── */
.topbar-outer{background:#fff;border-bottom:1px solid #efefef}
.topbar{
  max-width:1200px;margin:0 auto;padding:14px 40px;
  display:flex;align-items:center;justify-content:space-between;
}
.topbar-logo img{height:66px;width:auto;display:block}
.topbar-right{display:flex;align-items:center}
.topbar-item{display:flex;align-items:center;gap:11px;padding:0 24px}
.topbar-item+.topbar-item{border-left:1px solid #e8e8e8}
.topbar-icon{
  width:38px;height:38px;border:1px solid #ddd;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#888;flex-shrink:0;
}
.topbar-icon svg{
  width:15px;height:15px;fill:none;stroke:currentColor;
  stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;
}
.ti-label{font-size:11px;color:#aaa;margin-bottom:2px}
.ti-value{font-size:13.5px;font-weight:700;color:#1a1a1a}
.ti-value a:hover{color:#b8a06a}

/* ── NAVBAR ─────────────────────────────────── */
.navbar-outer{background:#1a1a1a}
.navbar{
  max-width:1200px;margin:0 auto;padding:0 40px;
  display:flex;align-items:stretch;list-style:none;
}
.navbar>li{position:relative}
.navbar>li>a{
  display:block;padding:15px 18px;
  color:#b8a06a;
  font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  white-space:nowrap;position:relative;transition:opacity .2s;
}
.navbar>li>a:hover{opacity:.7}
.navbar>li>a.active{color:#b8a06a}
.navbar>li>a.active::after{
  content:'';position:absolute;left:18px;right:18px;bottom:8px;
  height:2px;background:#b8a06a;
}
/* dropdown */
.submenu{
  display:none;position:absolute;top:100%;left:0;
  background:#1a1a1a;min-width:220px;
  border-top:2px solid #b8a06a;list-style:none;z-index:200;
}
.navbar>li:hover .submenu{display:block}
.submenu a{
  display:block;padding:11px 18px;
  color:#b8a06a;font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;
  border-bottom:1px solid #272727;transition:opacity .2s;
}
.submenu a:hover{opacity:.7}
/* mobile toggle */
.nav-toggle{
  display:none;background:none;border:none;
  color:#b8a06a;padding:13px 18px;cursor:pointer;margin-left:auto;
}
.nav-toggle svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2}

/* ── HERO SLIDER (homepage only) ────────────── */
.slider-outer{background:#111;overflow:hidden}
.slider-stage{position:relative;padding-bottom:44%;width:100%}
.slide{
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  opacity:0;transition:opacity .8s ease;z-index:1;
}
.slide.active{opacity:1;z-index:2}
.slide-caption{
  position:absolute;bottom:0;left:0;right:0;z-index:3;
  background:rgba(0,0,0,.52);color:#fff;
  text-align:center;padding:9px 20px;font-size:13px;letter-spacing:.05em;
}
.slider-dots{
  background:#fff;display:flex;justify-content:center;gap:8px;padding:13px 0;
}
.slider-dots button{
  width:11px;height:11px;border-radius:50%;border:none;
  cursor:pointer;padding:0;background:#ccc;transition:background .2s;
}
.slider-dots button.active{background:#b8a06a}

/* ── HOME INTRO ─────────────────────────────── */
.intro{background:#f3f1ec;padding:54px 40px 46px;text-align:center}
.intro-inner{max-width:1200px;margin:0 auto}
.intro-title{
  font-family:'Cinzel',Georgia,serif;
  font-size:clamp(20px,3vw,36px);font-weight:400;
  letter-spacing:.07em;color:#1a1a1a;margin-bottom:24px;
}
.intro-body{max-width:640px;margin:0 auto;font-size:13.5px;line-height:1.9;color:#555}
.intro-body p{margin-bottom:13px}
.intro-body p:last-child{margin-bottom:0}

/* ── HOME TILES ─────────────────────────────── */
.tiles-section{padding:44px 40px 54px;background:#fff}
.tiles-grid{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;gap:18px;
}
.tile{
  border:1px solid #e8e8e8;overflow:hidden;
  transition:box-shadow .3s;display:block;
}
.tile:hover{box-shadow:0 6px 22px rgba(0,0,0,.09)}
.tile-img{aspect-ratio:4/3;background-size:cover;background-position:center}
.tile-label{text-align:center;padding:14px;font-size:13px;color:#444;border-top:1px solid #f0f0f0}

/* ── INTERIOR PAGE HERO ─────────────────────── */
.page-hero{
  height:260px;background-size:cover;background-position:center;
  display:flex;align-items:center;justify-content:center;position:relative;
}
.page-hero::before{content:'';position:absolute;inset:0;background:rgba(0,0,0,.22)}
.page-hero h1{
  position:relative;font-family:'Cinzel',Georgia,serif;
  font-size:clamp(22px,3.5vw,40px);font-weight:400;
  color:#fff;letter-spacing:.05em;text-shadow:0 2px 14px rgba(0,0,0,.4);
}

/* ── ABOUT ──────────────────────────────────── */
.about-body{padding:54px 40px 36px;text-align:center}
.about-body p{
  max-width:900px;margin:0 auto;
  font-size:13.5px;line-height:1.95;color:#555;
}
.cta-wrap{text-align:center;padding:28px 0 54px}
.btn-book{
  display:inline-block;background:#1a1a1a;color:#fff;
  padding:13px 36px;border-radius:999px;font-size:13px;letter-spacing:.1em;
  transition:background .25s;
}
.btn-book:hover{background:#b8a06a;color:#fff}

/* ── SERVICES ───────────────────────────────── */
.services-wrap{max-width:1100px;margin:0 auto;padding:46px 40px}
.svc{
  display:grid;grid-template-columns:1fr 1fr;gap:44px;
  align-items:center;padding:36px 0;border-bottom:1px solid #f0f0f0;
}
.svc:last-of-type{border-bottom:none}
.svc.flip .svc-img{order:2}
.svc-img{aspect-ratio:4/3;background-size:cover;background-position:center;background-color:#ede8df}
.svc-name{
  font-family:'Cinzel',Georgia,serif;font-size:17px;font-weight:400;
  letter-spacing:.05em;text-transform:uppercase;color:#1a1a1a;margin-bottom:6px;
}
.svc-price{color:#b8a06a;font-size:13px;font-weight:600;margin-bottom:2px}
.svc-cash{color:#aaa;font-size:12px;margin-bottom:11px}
.svc-desc{font-size:13px;line-height:1.8;color:#555}

/* ── GIFT CARD ──────────────────────────────── */
.gift-section{max-width:1200px;margin:0 auto;padding:0 0 54px}
.gift-img{width:100%;max-height:500px;object-fit:cover;display:block}
.gift-text{text-align:center;padding:44px 40px 0;max-width:800px;margin:0 auto}
.gift-text h2{
  font-family:'Cinzel',Georgia,serif;
  font-size:clamp(18px,2.5vw,28px);font-weight:400;
  letter-spacing:.05em;color:#1a1a1a;margin-bottom:20px;
}
.gift-text p{font-size:13.5px;line-height:1.9;color:#555;margin-bottom:24px}
.btn-gold{
  display:inline-block;background:#b8a06a;color:#fff;
  padding:13px 36px;border-radius:999px;font-size:13px;letter-spacing:.1em;
  transition:background .25s;
}
.btn-gold:hover{background:#9a855a}

/* ── APPOINTMENT ────────────────────────────── */
.appt-split{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr}
.appt-map{width:100%;height:420px;display:block;border:none}
.appt-panel{padding:28px 32px;border:1px solid #eee;border-left:none}
.appt-tabs{
  display:flex;gap:18px;border-bottom:1px solid #eee;margin-bottom:18px;
  font-size:12px;color:#888;letter-spacing:.05em;flex-wrap:wrap;
}
.appt-tabs span{padding-bottom:10px}
.appt-call{
  margin-left:auto;font-size:12px;color:#555;
  display:flex;align-items:center;gap:5px;
}
.appt-call svg{
  width:13px;height:13px;stroke:#b8a06a;fill:none;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.appt-photo{
  width:100%;height:185px;
  background:url('images/1-0x0.jpg') center/cover;
  margin-bottom:14px;
}
.appt-biz-name{font-size:15px;font-weight:600;color:#1a1a1a;margin-bottom:3px}
.appt-stars{color:#f5a623;letter-spacing:.06em;font-size:13px}
.appt-reviews{font-size:12px;color:#888;margin-left:4px}
.appt-meta{font-size:12.5px;color:#555;margin-top:7px;line-height:1.5}
.appt-meta svg{
  width:13px;height:13px;stroke:#999;fill:none;
  stroke-width:1.8;vertical-align:middle;margin-right:3px;
}
.appt-book-btn{
  display:inline-block;background:#1a1a1a;color:#fff;
  padding:9px 22px;border-radius:4px;font-size:12px;letter-spacing:.08em;
  float:right;margin-top:-38px;transition:background .25s;
}
.appt-book-btn:hover{background:#b8a06a}
.appt-setmore{
  width:100%;border:none;display:block;
  margin-top:16px;min-height:320px;border-top:1px solid #f0f0f0;
}

/* ── FOOTER ─────────────────────────────────── */
footer{background:#2d2d2d;color:#bbb;padding-top:44px}
.footer-inner{
  max-width:1200px;margin:0 auto;padding:0 40px 44px;
  display:grid;grid-template-columns:1fr 200px 140px 1fr;gap:36px;
}
.fc h4{
  color:#fff;font-size:13px;font-weight:500;letter-spacing:.04em;
  margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #404040;
}
.fc ul{list-style:none}
.fc li{margin-bottom:9px;font-size:13px}
.fc a:hover{color:#b8a06a}
.fc-cta{background:#111;padding:26px 16px;text-align:center}
.fc-cta-title{
  font-family:'Cinzel',Georgia,serif;color:#fff;font-size:14px;
  font-weight:400;line-height:1.45;margin-bottom:18px;letter-spacing:.03em;
}
.fc-book{
  display:inline-flex;align-items:center;gap:4px;
  background:#fff;color:#1a1a1a;padding:9px 20px;border-radius:999px;
  font-size:12px;letter-spacing:.08em;transition:all .25s;
}
.fc-book:hover{background:#b8a06a;color:#fff}
.fc-book-arrow{color:#b8a06a;transition:color .25s}
.fc-book:hover .fc-book-arrow{color:#fff}
.fc-logo{display:flex;align-items:center;justify-content:center}
.fc-logo img{max-width:110px;filter:brightness(0) invert(1);opacity:.85}
.fc-row{
  display:flex;align-items:flex-start;gap:8px;
  margin-bottom:10px;font-size:13px;line-height:1.5;
}
.fc-row svg{
  width:14px;height:14px;flex-shrink:0;margin-top:2px;
  stroke:#b8a06a;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;
}
.fc-row a:hover{color:#b8a06a}
.socials{display:flex;gap:7px;margin-top:14px}
.socials a{
  width:30px;height:30px;border:1px solid #888;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#bbb;transition:border-color .2s,color .2s;
}
.socials a:hover{border-color:#b8a06a;color:#b8a06a}
.socials svg{
  width:14px;height:14px;fill:none;stroke:currentColor;
  stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
}
.footer-bottom{
  border-top:1px solid #3c3c3c;
  padding:22px 40px 26px;text-align:center;
  font-size:12px;line-height:2.1;
}
.footer-bottom .gold{color:#b8a06a}
.footer-bottom .wht{color:#ddd;font-weight:500}
.footer-bottom .dim{color:#666;margin-top:3px;font-size:11px}

/* ── RESPONSIVE ─────────────────────────────── */
@media(max-width:960px){
  .topbar{padding:12px 20px;flex-wrap:wrap;justify-content:center;gap:10px}
  .topbar-logo{order:-1;width:100%;text-align:center}
  .topbar-logo img{margin:0 auto}
  .topbar-item{padding:0 14px}
  .topbar-item+.topbar-item{border-left:none}
  .navbar{flex-wrap:wrap;padding:0 10px}
  .nav-toggle{display:block}
  .navbar>li{display:none;width:100%;border-bottom:1px solid #252525}
  .navbar.open>li{display:block}
  .navbar>li>a.active::after{display:none}
  .submenu{position:static;border-top:none;background:#0d0d0d}
  .intro{padding:40px 20px 34px}
  .tiles-section{padding:32px 16px 40px}
  .tiles-grid{grid-template-columns:1fr}
  .about-body{padding:40px 20px 28px}
  .services-wrap{padding:34px 20px}
  .svc{grid-template-columns:1fr;gap:16px}
  .svc.flip .svc-img{order:0}
  .gift-text{padding:30px 20px 0}
  .appt-split{grid-template-columns:1fr}
  .appt-map{height:300px}
  .appt-panel{border-left:1px solid #eee;padding:20px}
  .footer-inner{grid-template-columns:1fr 1fr;gap:24px;padding:0 20px 36px}
  .fc-logo{grid-column:span 2}
  .footer-bottom{padding:20px 20px 24px}
  .page-hero{height:200px}
}
@media(max-width:520px){
  .footer-inner{grid-template-columns:1fr}
  .fc-logo{grid-column:span 1}
  .appt-book-btn{float:none;margin-top:12px;display:inline-block}
}
