/* ==========================================================
   Winggo Smart Salon — Public Website
   ========================================================== */

:root {
    --porcelain: #fbf8f8;
    --blush: #f4e6e8;
    --rose: #e6c7cd;
    --berry: #9e2b5b;
    --berry-dark: #7f1f48;
    --plum: #2b1b2f;
    --plum-soft: #3a2840;
    --mauve: #74606e;
    --gold: #c9a46a;
    --line: #ecdde0;
    --white: #ffffff;
    --green: #2f9e62;

    --font-display: 'Marcellus', 'Times New Roman', serif;
    --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --header-h: 84px;
    --container: 1350px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--plum);
    background: var(--porcelain);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
[x-cloak] { display: none !important; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; color: var(--plum); }
h2 { font-size: clamp(30px, 4vw, 42px); }
h3 { font-size: 21px; }

:focus-visible { outline: 2px solid var(--berry); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
    position: absolute; left: 16px; top: -60px;
    background: var(--plum); color: var(--white);
    padding: 10px 16px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn-site {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px;
    padding: 0 26px;
    border-radius: 999px;
    font-weight: 600; font-size: 15px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn-berry { background: var(--berry); color: var(--white); }
.btn-berry:hover { background: var(--berry-dark); }
.btn-outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-outline:hover { background: var(--plum); color: var(--white); }
.btn-light { background: var(--white); color: var(--berry); }
.btn-light:hover { background: var(--blush); }
.btn-ghost-light { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn-wide { width: 100%; }

/* ---------- Status dot (shared) ---------- */
.status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: currentColor;
    opacity: .6;
    flex-shrink: 0;
}
.is-open .status-dot { background: var(--green); opacity: 1; box-shadow: 0 0 0 4px rgba(47, 158, 98, .2); }

/* ==========================================================
   TOP INFO BAR
   ========================================================== */
.topbar { background: var(--plum); color: #d9ccd6; font-size: 13.5px; }
.topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; min-width: 0; }
.topbar-status { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; color: var(--white); }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.topbar-item i { color: var(--gold); }
.topbar-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px; }
a.topbar-item:hover { color: var(--white); }
.topbar-social { display: inline-flex; gap: 14px; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .15); }
.topbar-social a { font-size: 15px; transition: color .2s; }
.topbar-social a:hover { color: var(--gold); }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--porcelain);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s, background-color .25s;
}
.site-header.is-scrolled {
    background: rgba(251, 248, 248, .95);
    backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(43, 27, 47, .07);
}

.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 36px; }

.site-brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-img { height: 48px; width: auto; }
.brand-mark {
    width: 44px; height: 54px;
    border-radius: 999px 999px 8px 8px;
    border: 1.5px solid var(--gold);
    display: grid; place-items: center;
    font-family: var(--font-display); font-size: 23px;
    color: var(--berry);
    background: linear-gradient(180deg, var(--white), var(--blush));
    flex-shrink: 0;
}
.brand-mark.small { width: 36px; height: 44px; font-size: 19px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-word { font-family: var(--font-display); font-size: 19px; color: var(--plum); }
.brand-tag { font-size: 12.5px; color: var(--mauve); margin-top: 3px; }

.site-nav { display: flex; gap: 20px; margin-left: auto; }
.site-nav a {
    position: relative;
    font-weight: 500; font-size: 15px;
    color: var(--mauve);
    padding: 8px 0;
    transition: color .2s;
}
.site-nav a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: 0;
    height: 1.5px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--plum); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 5px; }

.header-call { display: inline-flex; align-items: center; gap: 11px; }
.call-icon {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--white);
    display: grid; place-items: center;
    color: var(--berry); font-size: 16px;
    transition: background-color .2s, color .2s, border-color .2s;
}
.header-call:hover .call-icon { background: var(--berry); color: var(--white); border-color: var(--berry); }
.call-text { display: flex; flex-direction: column; line-height: 1.2; }
.call-text small { font-size: 12px; color: var(--mauve); }
.call-text strong { font-size: 15px; font-weight: 700; }

.nav-toggle {
    display: none;
    width: 46px; height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--plum);
    font-size: 22px;
    cursor: pointer;
    place-items: center;
}
.nav-toggle.is-visible { display: grid; }

/* ---------- Mobile drawer ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(43, 27, 47, .5); z-index: 60; }
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(360px, 90vw);
    background: var(--porcelain);
    z-index: 70;
    display: flex; flex-direction: column;
    padding: 18px 24px 26px;
    overflow-y: auto;
}
.drawer-anim { transition: transform .28s ease; }
.drawer-from { transform: translateX(100%); }
.drawer-to { transform: translateX(0); }

.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-head .brand-word { font-size: 20px; }

.drawer-nav { display: flex; flex-direction: column; margin-top: 8px; }
.drawer-nav a {
    display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-display); font-size: 24px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}
.drawer-nav a i { font-size: 15px; color: var(--gold); }

.drawer-info { margin: 22px 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--mauve); }
.drawer-info .topbar-status { color: var(--plum); }
.drawer-info i { color: var(--berry); margin-right: 6px; }

.drawer-foot { margin-top: auto; display: grid; gap: 12px; }
.drawer-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drawer-row .btn-site { padding: 0 12px; }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding: 64px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }

.hero-copy h1 { font-size: clamp(42px, 6.2vw, 76px); line-height: 1.05; letter-spacing: -.01em; }
.hero-lead { font-size: 18px; color: var(--mauve); max-width: 34em; margin: 24px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-status { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 14.5px; font-weight: 500; color: var(--mauve); }
.hero-status.is-open { color: var(--plum); }

/* Arched salon mirror */
.hero-visual { display: flex; justify-content: center; }
.mirror {
    position: relative;
    width: min(420px, 100%);
    padding: 16px;
    border-radius: 999px 999px 28px 28px;
    border: 1.5px solid var(--gold);
}
.mirror::after {
    content: "";
    position: absolute;
    left: 50%; bottom: -22px;
    width: 58%; height: 10px;
    transform: translateX(-50%);
    border-radius: 0 0 12px 12px;
    background: var(--gold);
    opacity: .55;
}
.mirror-glass {
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px 18px 18px;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(255, 255, 255, .55) 0 18%, transparent 18% 30%, rgba(255, 255, 255, .25) 30% 34%, transparent 34%),
        linear-gradient(170deg, var(--blush) 0%, var(--rose) 58%, #c98ea1 100%);
    display: grid; place-items: center;
}
.mirror-glass img { width: 100%; height: 100%; object-fit: cover; }
.mirror-monogram { font-family: var(--font-display); font-size: clamp(120px, 16vw, 190px); color: rgba(255, 255, 255, .8); line-height: 1; }

/* ==========================================================
   SECTIONS
   ========================================================== */
.section { padding: 96px 0; }
.section-blush { background: var(--blush); }
.section-head { max-width: 560px; margin-bottom: 48px; }
.section-head p { color: var(--mauve); margin-top: 14px; font-size: 17px; }
.section-cta { margin-top: 44px; }

/* Services */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service-list li { display: flex; gap: 18px; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); }
.service-list li:not(:nth-child(3n + 1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.service-list i { font-size: 24px; color: var(--berry); margin-top: 2px; }
.service-list h3 { margin-bottom: 6px; }
.service-list p { color: var(--mauve); font-size: 15px; }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.about-copy p { color: var(--mauve); font-size: 17px; margin-top: 20px; max-width: 32em; line-height: 1.75; }
.promise-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px 40px; }
.promise-list li { display: flex; gap: 16px; }
.promise-list i {
    flex-shrink: 0;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--white);
    display: grid; place-items: center;
    color: var(--berry); font-size: 19px;
}
.promise-list h3 { font-size: 19px; margin-bottom: 4px; }
.promise-list p { color: var(--mauve); font-size: 15px; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.visit-copy > p { color: var(--mauve); font-size: 17px; margin: 16px 0 32px; max-width: 32em; }
.visit-details { display: grid; gap: 22px; margin-bottom: 34px; }
.visit-details li { display: flex; gap: 16px; }
.visit-details i { color: var(--berry); font-size: 20px; margin-top: 2px; }
.visit-details div { display: flex; flex-direction: column; }
.visit-details strong { font-weight: 600; font-size: 14px; color: var(--mauve); }
.visit-details a { font-weight: 600; }
.visit-details div > a:last-child:not(:first-child) { color: var(--berry); font-size: 14.5px; margin-top: 2px; }

.visit-side { display: grid; gap: 22px; }
.hours-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px 30px; }
.hours-card h3 { margin-bottom: 16px; }
.hours-card li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.hours-card li:last-child { border-bottom: 0; }
.hours-card li.is-closed span:last-child { color: var(--mauve); }
.hours-card li.is-today { font-weight: 700; color: var(--berry); }

.map-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer { background: var(--plum); color: #cdbfca; padding-top: 72px; }
.site-footer .brand-word { color: var(--white); }
.site-footer .brand-mark { background: transparent; color: var(--gold); }

/* CTA card */
.footer-cta {
    position: relative;
    overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: 48px 56px;
    border-radius: 28px;
    background: var(--berry);
}
.footer-cta-copy { position: relative; z-index: 1; max-width: 520px; }
.footer-cta h2 { color: var(--white); font-size: clamp(28px, 3.4vw, 38px); }
.footer-cta p { color: rgba(255, 255, 255, .82); margin-top: 10px; font-size: 16px; }
.footer-cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.footer-cta-arch {
    position: absolute;
    right: 34%; bottom: -60px;
    width: 180px; height: 240px;
    border-radius: 999px 999px 0 0;
    border: 1.5px solid rgba(201, 164, 106, .55);
    pointer-events: none;
}
.footer-cta-arch::after {
    content: "";
    position: absolute; inset: 14px 14px -1px;
    border-radius: 999px 999px 0 0;
    border: 1px solid rgba(255, 255, 255, .12);
}

/* Columns */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr .9fr 1.2fr 1.2fr;
    gap: 44px;
    padding-top: 72px;
    padding-bottom: 60px;
}
.footer-brand p { margin-top: 18px; font-size: 15px; max-width: 26em; color: #b9a8b6; line-height: 1.7; }
.footer-title { font-family: var(--font-display); font-size: 20px; color: var(--white); margin-bottom: 20px; }

.footer-links li { margin-bottom: 11px; font-size: 15px; }
.footer-links a { transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.footer-contact i { color: var(--gold); margin-top: 3px; }
.footer-contact a:hover { color: var(--white); }
.footer-directions { display: block; margin-top: 4px; color: var(--gold); font-weight: 600; font-size: 14px; }

.footer-hours li {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 6px 0;
    font-size: 14.5px;
    border-bottom: 1px dashed rgba(255, 255, 255, .08);
}
.footer-hours li:last-child { border-bottom: 0; }
.footer-hours li.is-closed span:last-child { color: #9c8a98; }
.footer-hours li.is-today { color: var(--white); font-weight: 700; }
.footer-hours li.is-today span:first-child::after { content: " (today)"; font-weight: 400; color: var(--gold); }

.footer-social { display: flex; gap: 10px; margin-top: 24px; }
.footer-social a {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    display: grid; place-items: center;
    font-size: 16px;
    transition: background-color .2s, border-color .2s, color .2s;
}
.footer-social a:hover { background: var(--berry); border-color: var(--berry); color: var(--white); }

/* Bottom bar */
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding-top: 20px; padding-bottom: 20px;
    font-size: 13.5px; color: #a8969f;
}
.footer-credit { margin-left: auto; }
.to-top {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .18);
    display: grid; place-items: center;
    color: var(--white);
    transition: background-color .2s, border-color .2s;
}
.to-top:hover { background: var(--gold); border-color: var(--gold); color: var(--plum); }

/* ---------- WhatsApp float ---------- */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 40;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25d366; color: var(--white);
    display: grid; place-items: center;
    font-size: 28px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1180px) {
    .site-nav { gap: 20px; }
    .call-text { display: none; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 991px) {
    .hide-md { display: none !important; }
}

@media (max-width: 900px) {
    :root { --header-h: 72px; }
    .site-nav, .header-call, .header-book { display: none; }
    .nav-toggle { display: grid; }
    .header-actions { margin-left: auto; }
    .brand-tag { display: none; }

    .hero { padding: 36px 0 76px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { order: -1; }
    .mirror { width: min(300px, 80%); }

    .service-list { grid-template-columns: 1fr 1fr; }
    .service-list li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
    .service-list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }

    .about-grid, .visit-grid { grid-template-columns: 1fr; gap: 44px; }
    .section { padding: 72px 0; }

    .footer-cta { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
    .footer-cta-arch { right: -40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .hide-sm { display: none !important; }
    .container { padding: 0 18px; }
    .topbar-inner { justify-content: center; }
    .topbar-right { display: none; }

    .brand-word { font-size: 20px; }
    .brand-mark { width: 38px; height: 46px; font-size: 20px; }
    .hero-lead { font-size: 16.5px; }
    .hero-actions .btn-site { flex: 1 1 100%; }

    .service-list { grid-template-columns: 1fr; }
    .service-list li:nth-child(even) { padding-left: 0; border-left: 0; }
    .service-list li { padding-right: 0; }
    .promise-list { grid-template-columns: 1fr; gap: 26px; }
    .hours-card { padding: 22px; }

    .site-footer { padding-top: 48px; }
    .footer-cta { padding: 34px 24px; border-radius: 22px; }
    .footer-cta-actions { width: 100%; }
    .footer-cta-actions .btn-site { flex: 1 1 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 52px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-credit { margin-left: 0; }
    .wa-float { width: 52px; height: 52px; font-size: 26px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}