/*
 * AZARA-SPA | Original Brand-Inspired Black & Gold Edition
 * Styling only: retains all site functionality, existing content and protected data.
 */

/* 01. Brand palette and foundations */
:root {
  --black: #0e0e0f;
  --charcoal: #191919;
  --ink: #222222;
  --text: #454545;
  --muted: #626262;
  --white: #ffffff;
  --cream: #ffffff;
  --blush: #f7f6f2;
  --peach: #141414;
  --terra: #d8b66f;
  --terra-d: #74551b;
  --gold: #c7a15b;
  --gold-bright: #f0d58b;
  --gold-ink: #765618;
  --brown: #141414;
  --line: #dedbd3;
  --radius: 12px;
  --lotus: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><g fill='none' stroke='%23caa85f' stroke-width='1.2'><ellipse cx='50' cy='58' rx='9' ry='22'/><ellipse cx='50' cy='58' rx='9' ry='22' transform='rotate(-35 50 78)'/><ellipse cx='50' cy='58' rx='9' ry='22' transform='rotate(35 50 78)'/><ellipse cx='50' cy='58' rx='9' ry='22' transform='rotate(-70 50 78)'/><ellipse cx='50' cy='58' rx='9' ry='22' transform='rotate(70 50 78)'/></g></svg>");
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.75 Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--white); }
img { max-width: 100%; display: block; }
a { color: var(--gold-ink); text-underline-offset: .18em; }
a:hover { color: #3d301b; }
::selection { background: var(--gold); color: var(--black); }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; color: var(--brown); font-weight: 600; line-height: 1.13; margin: 0 0 .5em; }
h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); letter-spacing: -.018em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 92%); margin-inline: auto; }
.narrow { width: min(760px, 92%); margin-inline: auto; }
.center { text-align: center; }
.eyebrow { display: block; margin-bottom: .9rem; color: var(--gold-ink); font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; }
.lead { font-size: 1.1rem; }
.rule { width: 66px; height: 2px; border: 0; background: var(--gold); margin: 1.25rem 0; }
.center .rule { margin-inline: auto; }

/* 02. Shared navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 8, 8, .98); border-bottom: 1px solid rgba(199, 161, 91, .65); backdrop-filter: blur(10px); }
.header-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .75rem 0; }
.brand { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.brand-name { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.9rem; font-weight: 600; letter-spacing: .08em; color: var(--gold-bright); }
.brand-sub { margin-top: .2rem; text-align: center; font-size: .7rem; letter-spacing: .34em; text-transform: uppercase; color: #e8e2d6; }
.nav { display: flex; align-items: center; gap: 1.45rem; }
.nav a { color: #efefef; text-decoration: none; font-size: .86rem; font-weight: 500; letter-spacing: .025em; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-bright); }
.nav a[aria-current="page"] { border-bottom: 2px solid var(--gold); padding-bottom: 3px; }
.nav .btn, .nav .btn:hover { color: var(--black); }
.nav .btn { border-bottom: 2px solid var(--gold); }
.nav-toggle { display: none; padding: .6rem; background: transparent; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--gold-bright); transition: .2s; }

/* Original brand wordmark — one scalable logo shared by website, footer and admin. */
.brand { flex-shrink: 0; align-items: flex-start; justify-content: center; }
.brand-logo { display: block; width: clamp(185px, 19vw, 248px); height: auto; aspect-ratio: 475 / 132; object-fit: contain; }
.site-header .header-in { min-height: 84px; padding: .48rem 0; }
.admin-header { background: #080808 !important; border-bottom: 1px solid var(--gold); }
.admin-header .brand-logo { width: 206px; }
.admin-brand-caption { align-self: center; margin-top: -.55rem; font-size: .62rem; letter-spacing: .2em; color: #e3c680; text-transform: uppercase; }
.admin-header a, .admin-header .inline-form button { color: #e8d29b; }
.admin-header a:hover, .admin-header .inline-form button:hover { color: #fff; }
.foot-brand .brand-logo { width: min(270px, 100%); }

/* 03. Buttons, links and focus */
.btn { display: inline-block; padding: .82rem 1.65rem; border: 2px solid var(--gold); border-radius: 999px; background: var(--gold); color: var(--black); font: 700 .88rem/1.45 Montserrat, sans-serif; letter-spacing: .04em; text-decoration: none; text-align: center; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.btn:hover { background: var(--gold-bright); border-color: var(--gold-bright); color: var(--black); transform: translateY(-1px); }
.btn-sm { padding: .47rem 1.05rem; font-size: .79rem; }
.btn-outline { background: transparent; border-color: var(--gold-ink); color: var(--gold-ink); }
.btn-outline:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }
.skip-link { position: absolute; top: -90px; left: 1rem; z-index: 100; padding: .8rem 1rem; background: var(--gold-bright); color: var(--black); }
.skip-link:focus { top: 1rem; }
:is(a, button, input, select, textarea):focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* 04. Photo slots: preserve configured images and their existing fallback behaviour. */
.ph { min-height: 260px; border-radius: var(--radius); background-image: var(--img), var(--lotus), linear-gradient(145deg, #3a352b, #141414); background-position: center; background-size: cover, cover, 34%, cover; background-repeat: no-repeat; filter: grayscale(.68) contrast(1.05); transition: filter .25s; }
.ph-hero { --img: url(images/hero.jpg), url("https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?auto=format&fit=crop&w=1000&q=70"); }
.ph-spa { --img: url(images/spa.jpg), url("https://images.unsplash.com/photo-1741522509438-a120c0bb5e88?auto=format&fit=crop&w=900&q=70"); }
.ph-lounge { --img: url(images/lounge.jpg), url("https://images.unsplash.com/photo-1604328698692-f76ea9498e76?auto=format&fit=crop&w=1000&q=70"); }
.ph-rooms { --img: url(images/rooms.jpg), url("https://images.unsplash.com/photo-1702255489644-392758161f1f?auto=format&fit=crop&w=1000&q=70"); }
.ph-shop { --img: url(images/shop.jpg), url("https://images.unsplash.com/photo-1580870069867-74c57ee1bb07?auto=format&fit=crop&w=900&q=70"); }
.ph-parfum { --img: url(images/parfum.jpg), url("https://images.unsplash.com/photo-1458538977777-0549b2370168?auto=format&fit=crop&w=1000&q=70"); }
.ph-facial { --img: url(images/facial-products.jpg), url("https://images.unsplash.com/photo-1583209814683-c023dd293cc6?auto=format&fit=crop&w=1000&q=70"); }
.ph-massage { --img: url(images/massage.jpg), url("https://images.unsplash.com/photo-1600334089648-b0d9d3028eb2?auto=format&fit=crop&w=1000&q=70"); }
.ph-events { --img: url(images/events.jpg), url("https://images.unsplash.com/photo-1758272134263-a658a0d94c2d?auto=format&fit=crop&w=1000&q=70"); }
.arch { min-height: 460px; border: 2px solid rgba(202, 168, 95, .7); border-radius: 999px 999px var(--radius) var(--radius); }
.tile:hover .ph { filter: grayscale(.2); }

/* 05. Main and inner-page banners */
.hero { padding: 82px 0; color: #e9e9e9; background: radial-gradient(ellipse at 85% 30%, rgba(180, 142, 68, .13), transparent 41%), linear-gradient(130deg, #050505, #181818 72%, #080808); border-bottom: 1px solid #a17d42; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
.hero h1, .page-hero h1 { color: #fff; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--gold-bright); }
.hero .lead { color: #e0e0e0; }
.hero .btn-outline, .page-hero .btn-outline { border-color: var(--gold-bright); color: var(--gold-bright); }
.hero .btn-outline:hover, .page-hero .btn-outline:hover { border-color: var(--gold-bright); background: var(--gold-bright); color: var(--black); }
.page-hero { padding: 76px 0 64px; background: linear-gradient(135deg, #080808, #1e1d1a); color: #dedede; text-align: center; border-bottom: 2px solid var(--gold); }
.page-hero p { max-width: 680px; margin-inline: auto; }

/* 06. Sections, editorial cards and tiles */
.section { padding: 86px 0; }
.section.alt { background: var(--blush); }
.section.peach { color: #e7e7e7; background: radial-gradient(circle at 50% 0%, #262216, transparent 55%), var(--peach); }
.section.peach h2 { color: var(--white); }
.section.peach .eyebrow { color: var(--gold-bright); }
.section.peach > .wrap > .note, .section.peach > .wrap > .center.note { color: #d3d3d3; opacity: 1; }
.section.peach .card { color: var(--text); }
.section.peach .card h3 { color: var(--brown); }
.section.peach .card .note { color: var(--muted); opacity: 1; }
.section.peach .btn-outline { border-color: var(--gold-bright); color: var(--gold-bright); }
.section.peach .btn-outline:hover { background: var(--gold-bright); color: var(--black); }
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; }
.split.flip .ph { order: 2; }
.grid { display: grid; gap: 1.5rem; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; padding: 1.8rem; border: 1px solid var(--line); border-top: 2px solid var(--gold); border-radius: var(--radius); background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.035); }
.card p:last-child { margin-bottom: 0; }
.tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--text); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 14px 34px rgba(0,0,0,.13); }
.tile .ph { min-height: 190px; border-radius: 0; }
.tile-body { padding: 1.35rem 1.45rem 1.5rem; }
.tile-body h3 { margin-bottom: .3rem; }
.tile-body span { color: var(--gold-ink); font-size: .84rem; font-weight: 700; }

/* 07. Treatment offers and details */
.day { display: inline-flex; justify-content: center; align-items: center; width: 88px; height: 88px; margin-bottom: 1.1rem; border: 3px solid var(--gold); border-radius: 50%; background: var(--black); box-shadow: inset 0 0 0 3px var(--black); color: var(--gold-bright); text-align: center; text-transform: uppercase; font-size: .7rem; line-height: 1.25; letter-spacing: .055em; font-weight: 700; }
.day small { display: block; font-size: .62rem; opacity: .9; font-weight: 500; }
.price { margin: .2rem 0 0; font: 700 1.5rem Montserrat, sans-serif; color: var(--gold-ink); }
.item { padding: 1rem 0; border-top: 1px solid var(--line); }
.item:first-of-type { padding-top: 0; border-top: 0; }
.item h3 { margin: 0; font-size: 1.25rem; }
.item .price { font-size: 1.25rem; }
.note { font-size: .85rem; opacity: .85; }
.ticks { margin: 0 0 1rem; padding: 0; list-style: none; }
.ticks li { position: relative; margin: .35rem 0; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .66em; width: .65rem; height: .65rem; border: 1px solid var(--gold-ink); border-radius: 50%; background: var(--gold); }
blockquote { margin: 0; padding: 1.8rem; border-left: 3px solid var(--gold); border-radius: 0 var(--radius) var(--radius) 0; background: var(--blush); }
blockquote p { color: var(--brown); font: 500 1.38rem/1.42 "Cormorant Garamond", Georgia, serif; }
blockquote cite { color: var(--gold-ink); font-size: .78rem; font-weight: 700; font-style: normal; letter-spacing: .085em; text-transform: uppercase; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: .8rem; border: 2px solid var(--gold); border-radius: 50%; background: var(--black); color: var(--gold-bright); font-weight: 700; }

/* 08. Contact, booking and blog */
.form { display: grid; gap: 1rem; }
.form label { display: block; margin-bottom: .3rem; color: var(--brown); font-size: .83rem; font-weight: 700; }
.form input, .form select, .form textarea { width: 100%; padding: .78rem 1rem; border: 1px solid #c9c8c3; border-radius: 9px; background: #fff; color: var(--ink); font: inherit; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 0; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form input[type=checkbox] { width: auto; accent-color: var(--gold-ink); }
.form label.checkbox-label { display: flex; align-items: flex-start; gap: .65rem; font-size: .89rem; font-weight: 400; }
.form .btn:disabled { opacity: .56; cursor: not-allowed; }
.form small { display: block; margin: .25rem 0 .4rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.status { display: none; margin-bottom: 1rem; padding: 1rem 1.2rem; border: 1px solid var(--line); border-radius: 9px; font-weight: 500; }
.status.ok { display: block; background: #e8f4e9; border-color: #a5d1ab; color: #20582b; }
.status.err { display: block; background: #fff0ee; border-color: #d9aaa1; color: #83281c; }
.info p { margin-bottom: .6rem; }
.map { width: 100%; height: 340px; margin-top: 1.2rem; border: 0; border-radius: var(--radius); }
.book-flow { display: grid; grid-template-columns: 1.5fr 1fr; align-items: start; gap: 2rem; }
.helper { color: var(--muted); font-size: .86rem; }
.pill { display: inline-block; padding: .25rem .8rem; border: 1px solid var(--gold); border-radius: 999px; background: #f9f3e5; color: var(--brown); font-size: .78rem; font-weight: 700; }
.card-list { display: grid; gap: 1rem; }
.content-section p { white-space: pre-line; }
.article-body { white-space: pre-wrap; line-height: 1.9; overflow-wrap: anywhere; }
.article-image { width: 100%; max-height: 420px; object-fit: cover; margin-bottom: 2rem; border-radius: var(--radius); }

/* 09. Tables and administration */
.site-table { width: 100%; border-collapse: collapse; background: #fff; }
.site-table th, .site-table td { padding: .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.site-table th { background: var(--blush); font-size: .85rem; color: var(--black); }
.table-scroll { overflow: auto; border: 1px solid var(--line); border-radius: 10px; }
.admin-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 2rem; margin: 2rem auto 5rem; }
.admin-nav { display: flex; flex-direction: column; gap: .35rem; align-self: start; position: sticky; top: 100px; }
.admin-nav a { display: block; padding: .58rem .8rem; border-left: 3px solid transparent; border-radius: 6px; color: var(--brown); text-decoration: none; }
.admin-nav a.active, .admin-nav a:hover { border-left-color: var(--gold); background: #f4efe3; color: var(--black); }
.admin-main { min-width: 0; }
.admin-main .form { max-width: 800px; }
.admin-main .form textarea { min-height: 120px; }
.admin-main .card { margin-bottom: 1rem; }
.admin-header { padding: 1.5rem 0; border-bottom: 2px solid var(--gold); background: var(--blush); }
.admin-header .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.inline-form { display: inline-block; }
.inline-form button { border: 0; background: transparent; color: var(--gold-ink); font: inherit; text-decoration: underline; cursor: pointer; }
.muted { color: var(--muted); font-size: .84rem; }

/* 10. Footer and WhatsApp contact */
.site-footer { padding: 62px 0 28px; border-top: 3px solid var(--gold); background: #0b0b0c; color: #c9c9c9; font-size: .91rem; }
.site-footer a { color: var(--gold-bright); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer h4 { margin: 0 0 .8rem; color: #fff; font: 600 1.3rem "Cormorant Garamond", Georgia, serif; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-brand .brand-name { color: var(--gold-bright); font-size: 1.7rem; }
.foot-brand .brand-sub { color: #dfdfdf; text-align: left; }
.foot-links { margin: 0; padding: 0; list-style: none; }
.foot-links li { margin: .35rem 0; }
.copy { margin-top: 2rem; padding-top: 1.3rem; border-top: 1px solid #3e3625; color: #c9c9c9; font-size: .8rem; }
.wa { position: fixed; right: 18px; bottom: 18px; z-index: 60; padding: .72rem 1.1rem; border: 1px solid var(--gold); border-radius: 999px; background: var(--black); color: var(--gold-bright); font-size: .85rem; font-weight: 700; text-decoration: none; box-shadow: 0 8px 25px rgba(0,0,0,.25); }
.wa:hover { background: var(--gold); color: var(--black); }

/* 11. Responsive behaviour: unchanged breakpoints and mobile interactions */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: .95rem; padding: 1.1rem 4% 1.5rem; border-bottom: 1px solid var(--gold); background: var(--black); box-shadow: 0 12px 25px rgba(0,0,0,.16); }
  .nav.open { display: flex; }
  .nav a { font-size: .89rem; }
}
@media (max-width: 980px) {
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-in, .split, .book-flow, .admin-shell { grid-template-columns: 1fr; }
  .split.flip .ph { order: 0; }
  .hero { padding: 58px 0; }
  .arch { min-height: 340px; }
  .section { padding: 62px 0; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .form .two { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .admin-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .admin-nav a { padding: .4rem .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .ph, .btn, .nav-toggle span { transition: none; }
}

/* Gold detailing based on the original AZARA-SPA identity. */
.site-header::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, #765618, #eed58d 47%, #765618); }
.hero h1 { max-width: 11ch; }
.hero .eyebrow { letter-spacing: .28em; }
.hero .rule, .rule { background: linear-gradient(90deg, #8b6a2f, #f0d58b, #8b6a2f); }
.page-hero { position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: min(520px, 80%); height: 1px; bottom: 0; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, transparent, #edcc85, transparent); }
.price { letter-spacing: .025em; }
.section.peach .card { border-top-color: #e2c177; }
@media (max-width: 1100px) { .brand-logo { width: 215px; } }
@media (max-width: 600px) { .brand-logo { width: 182px; } .site-header .header-in { min-height: 75px; } .foot-brand .brand-logo { width: min(250px, 90%); } .hero h1 { max-width: none; } }
