/* ============================================================
   HOLYN'S CONNECT — Shared Design System
   app.akady-holyns.fr
============================================================ */

/* Google Fonts loaded via <link> in HTML — no @import needed */

/* ── Variables ── */
:root {
  --gold:          #C9A84C;
  --gold-light:    #F2D98B;
  --gold-dark:     #8C6B20;
  --gold-gradient: linear-gradient(120deg,#8C6B20 0%,#C9A84C 30%,#F2D98B 55%,#C9A84C 75%,#8C6B20 100%);
  --bg:            #000000;
  --bg-soft:       #070707;
  --bg-card:       #0C0C0C;
  --bg-card-hover: #131313;
  --border:        #191919;
  --border-gold:   rgba(201,168,76,.28);
  --white:         #FFFFFF;
  --soft:          #CCCCCC;
  --muted:         #777777;
  --serif:         'Cormorant Garamond', Georgia, serif;
  --sans:          'DM Sans', system-ui, -apple-system, sans-serif;
  --ease:          cubic-bezier(.4,0,.2,1);
  --ease-out:      cubic-bezier(0,0,.2,1);
  --nav-h:         44px;
  --sat:           env(safe-area-inset-top);
  --sab:           env(safe-area-inset-bottom);
}

/* ── Light Mode ── */
html.light {
  --bg:            #F5F3EF;
  --bg-soft:       #EEEBE5;
  --bg-card:       #FFFFFF;
  --bg-card-hover: #FAF8F5;
  --border:        #D4CDBF;
  --border-gold:   rgba(122,97,24,.35);
  --white:         #0F0F0F;    /* body text — near black pour contraste max */
  --soft:          #2A2A2A;    /* text secondaire — gris foncé */
  --muted:         #555043;    /* labels / hints — gris warm suffisamment sombre (ratio ~7:1 sur bg) */
  --gold:          #7A6118;    /* gold assombri pour contraste sur fond clair */
  --gold-light:    #A68A30;
  --gold-dark:     #5C4810;
  --gold-gradient: linear-gradient(120deg,#5C4810 0%,#7A6118 30%,#A68A30 55%,#7A6118 75%,#5C4810 100%);
}
html.light body{background:var(--bg);color:var(--white)}
html.light #nav{background:rgba(245,243,239,.92);border-bottom-color:var(--border)}
html.light #nav.scrolled{background:rgba(245,243,239,.98)}
html.light .nav-dropdown-menu{background:#fff;border-color:var(--border);box-shadow:0 12px 40px rgba(0,0,0,.1)}
html.light .nav-dropdown-menu a{color:var(--white)!important}
html.light .nav-dropdown-menu a:hover{background:var(--bg-soft);color:var(--gold)!important}
html.light footer{background:var(--bg);border-top-color:var(--border)}
html.light .form-input,html.light .form-select,html.light .form-textarea{background:var(--bg-card);border-color:var(--border);color:var(--white)}
html.light .form-select option{background:#fff;color:#1a1a1a}
html.light ::-webkit-scrollbar-thumb{background:rgba(140,107,32,.3)}
html.light .hero-bg{opacity:.12}
html.light .hero-ov{background:linear-gradient(180deg,rgba(245,243,239,.3) 0%,rgba(245,243,239,.6) 50%,rgba(245,243,239,.9) 85%,var(--bg) 100%)}
html.light .c-dot{background:var(--gold)}
html.light .c-ring{border-color:rgba(140,107,32,.5)}
html.light .mob-panel{background:#fff;border-left-color:var(--border)}
html.light .mob-overlay{background:rgba(0,0,0,.25)}

/* Light mode: override hardcoded dark colors via attribute selectors */
html.light [style*="background:#0a0a0a"],
html.light [style*="background: #0a0a0a"],
html.light [style*="background:#000"]:not(.soc-btn):not([aria-label="TikTok"]),
html.light [style*="background: #000"]:not(.soc-btn):not([aria-label="TikTok"]){background:var(--bg)!important}

/* Social brand buttons : keep official brand colors in BOTH themes */
html.light .soc-btn[aria-label="Facebook"]{background:#1877F2!important;border:none!important}
html.light .soc-btn[aria-label="Instagram"]{background:radial-gradient(circle at 30% 107%,#fdf497 0%,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285AEB 90%)!important;border:none!important}
html.light .soc-btn[aria-label="LinkedIn"]{background:#0A66C2!important;border:none!important}
html.light .soc-btn[aria-label="TikTok"]{background:#000000!important;border:none!important}
html.light [style*="background:#111"],
html.light [style*="background: #111"],
html.light [style*="background:#1a1a1a"],
html.light [style*="background: #1a1a1a"]{background:var(--bg-card)!important}
html.light [style*="color:#fff"],
html.light [style*="color: #fff"],
html.light [style*="color:#FFF"],
html.light [style*="color:#ffffff"],
html.light [style*="color: #ffffff"]{color:var(--white)!important}
html.light [style*="color:#888"],
html.light [style*="color: #888"],
html.light [style*="color:#777"],
html.light [style*="color: #777"],
html.light [style*="color:#999"],
html.light [style*="color: #999"],
html.light [style*="color:#666"],
html.light [style*="color: #666"],
html.light [style*="color:#555"],
html.light [style*="color: #555"],
html.light [style*="color:#aaa"],
html.light [style*="color: #aaa"],
html.light [style*="color:#bbb"],
html.light [style*="color: #bbb"],
html.light [style*="color:#ccc"],
html.light [style*="color: #ccc"],
html.light [style*="color:#ddd"],
html.light [style*="color: #ddd"],
html.light [style*="color:#e0e0e0"],
html.light [style*="color:#ededed"],
html.light [style*="color:rgba(255,255,255"],
html.light [style*="color:rgba(255, 255, 255"]{color:var(--soft)!important}

/* Dark gold text on light bg — too low contrast if gold stays light */
html.light [style*="color:#d4af37"],
html.light [style*="color: #d4af37"],
html.light [style*="color:#D4AF37"],
html.light [style*="color:#c9a84c"],
html.light [style*="color: #c9a84c"],
html.light [style*="color:#C9A84C"],
html.light [style*="color: #C9A84C"],
html.light [style*="color:#e8d5a3"],
html.light [style*="color:#E8D5A3"],
html.light [style*="color:#f2d98b"],
html.light [style*="color:#F2D98B"]{color:var(--gold)!important}

/* Placeholder text readability */
html.light input::placeholder,
html.light textarea::placeholder{color:#8A8273!important;opacity:1}

/* Force label / small / span cascading inherited weak colors */
html.light label,html.light small,html.light .hint,html.light .note{color:var(--soft)!important}
html.light [style*="border-color:#191919"],
html.light [style*="border:1px solid #191919"],
html.light [style*="border:1px solid #1a1a1a"],
html.light [style*="border:1px solid #222"],
html.light [style*="border:1px solid #2a2a2a"],
html.light [style*="border-bottom:1px solid #191919"],
html.light [style*="border-bottom:1px solid #1a1a1a"],
html.light [style*="border-top:1px solid #191919"],
html.light [style*="border-top:1px solid #1a1a1a"]{border-color:var(--border)!important}

/* Dashboard / cards / sections */
html.light .dsh-hdr{background:var(--bg)!important;border-bottom-color:var(--border)!important}
html.light .dsh-cat{background:var(--bg-card)!important;border-color:var(--border)!important;color:var(--muted)!important}
html.light .dsh-cat.active{background:var(--gold)!important;color:#fff!important;border-color:var(--gold)!important}
html.light .dsh-search{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .dsh-search input{color:var(--white)!important}
html.light .dsh-prov{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .dsh-demand{background:var(--bg-card)!important}
html.light .dsh-subcat-card{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .dsh-svc-card .svc-title{text-shadow:0 2px 8px rgba(0,0,0,.5)!important}
html.light .pop-card{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .pop-card-body{background:var(--bg-card)}
html.light .pop-card-name{color:var(--white)!important}
html.light .pop-hdr{background:var(--bg)!important;border-bottom-color:var(--border)!important}
html.light .s5,html.light .s8,html.light .s9{background:var(--bg)!important;color:var(--white)!important}
html.light .s6{background:var(--bg-soft)!important;color:var(--white)!important}
html.light .s7{background:var(--bg-soft)!important;color:var(--white)!important}
html.light .s3{background:var(--bg-soft)!important;color:var(--white)!important}
html.light .city-box{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .cat-bar{background:var(--bg)!important;border-bottom-color:var(--border)!important}
.cat-bar{padding:3px 8px!important;top:var(--nav-h)!important}
.cat-bar .cat-item{padding:3px 8px!important;font-size:10px!important}
/* ── dsh-hdr & hc-hdr : centrage propre ── */
.dsh-hdr,.hc-hdr{display:flex!important;align-items:center!important;justify-content:space-between!important;box-sizing:border-box!important;position:fixed!important;top:0!important;left:0!important;right:0!important;z-index:1000!important}
.dsh-hdr>*,.dsh-hdr .dsh-logo,.dsh-hdr .dsh-av,.dsh-hdr .dsh-right,.dsh-hdr .dsh-burger,.hc-hdr>*,.hc-hdr .hc-hdr-title,.hc-hdr .hc-hdr-back,.hc-hdr .hc-hdr-burger,.hc-hdr #hcHdrAvatar{display:flex!important;align-items:center!important;margin:0!important;padding:0!important}
.hc-hdr #hcHdrAvatar,.hc-hdr #hcHdrAvatar img{width:36px!important;height:36px!important}
.hc-hdr .hc-hdr-burger{font-size:30px!important}
.hc-hdr .hc-hdr-title{font-size:20px!important}
html.light input,html.light select,html.light textarea{background:var(--bg-card)!important;border-color:var(--border)!important;color:var(--white)!important}
html.light input::placeholder,html.light textarea::placeholder{color:var(--muted)!important}
html.light .pole-card{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .pole-card:hover{background:var(--bg-card-hover)!important;border-color:var(--border-gold)!important}
html.light .rv-card,html.light .why-card,html.light .how-card,html.light .pv-card{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .gfoot{background:var(--bg-soft)!important;border-top-color:var(--border)!important;color:var(--white)!important}
html.light .foot-bottom{border-top-color:var(--border)!important}
html.light .insc-card,html.light .cx-card,html.light .ca-card{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .iphone-notch{background:var(--bg)!important}

/* ── Light mode: text color overrides (white → dark) ── */
html.light .dsh-logo span:first-child{color:var(--white)!important}
html.light .dsh-name{color:var(--white)!important}
html.light .dsh-side-name{color:var(--white)!important}
html.light .dsh-greet h1{color:var(--white)!important}
html.light .dsh-greet p{color:var(--muted)!important}
html.light .dsh-sec-h h2{color:var(--white)!important}
html.light .dsh-prov-name{color:var(--white)!important}
html.light .dsh-prov-svc{color:var(--muted)!important}
html.light .dsh-demand-title{color:var(--white)!important}
html.light .dsh-demand-date{color:var(--muted)!important}
html.light .dsh-subcat-name{color:var(--white)!important}
html.light .dsh-prem-card h3{color:var(--white)!important}
html.light .dsh-prem-card p{color:var(--muted)!important}
html.light .dsh-parrain h3{color:var(--gold)!important}
html.light .dsh-parrain p{color:var(--muted)!important}
html.light .dsh-cta-card{background:var(--bg-card)!important;border-color:var(--border-gold)!important}
html.light .dsh-side{background:var(--bg-card)!important;border-right-color:var(--border)!important}
html.light .dsh-side a{color:var(--muted)!important}
html.light .dsh-side a:hover,html.light .dsh-side a.active{color:var(--gold)!important}
html.light .dsh-main{background:var(--bg)!important}
/* ── Global: gold gradient on <em> inside headings (both modes) ── */
h1 em,h2 em,h3 em{font-style:italic;background:var(--gold-gradient);background-size:300%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:shimmer 5s linear infinite}
/* ── Light mode: title system ── */
html.light h1,html.light h2,html.light h3{color:#1A1A1A!important}
html.light h1 .g,html.light h2 .g,html.light h3 .g{background:var(--gold-gradient);background-size:300%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:shimmer 5s linear infinite}
html.light p,html.light .ab-sub,html.light .hero-sub,html.light .sec-sub,html.light .why-p,html.light .hiw-p,html.light .bp-sub,html.light .app-sub{color:#7A7467!important}
html.light h4,html.light h5,html.light h6{color:#1A1A1A!important}
/* Hero & guest sections */
html.light .hero h1{color:#1A1A1A!important}
html.light .hero-sub{color:var(--muted)!important}
html.light .sec-t{color:#1A1A1A!important}
html.light .sec-sub{color:var(--muted)!important}
html.light .why-card{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .why-h{color:var(--white)!important}
html.light .why-p{color:var(--muted)!important}
html.light .pv-name{color:var(--white)!important}
html.light .pv-svc{color:var(--muted)!important}
html.light .pv-rc{color:var(--muted)!important}
html.light .pv-body{background:var(--bg-card)}
html.light .rv-name{color:var(--white)!important}
html.light .rv-meta{color:var(--muted)!important}
html.light .rv-text{color:var(--soft)!important}
html.light .rv-ago{color:var(--muted)!important}
html.light .trust-bar{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .hiw-ico{background:var(--bg-card)!important}
html.light .hiw-h{color:var(--white)!important}
html.light .hiw-p{color:var(--muted)!important}
html.light .bp-h{color:var(--white)!important}
html.light .bp-sub{color:var(--muted)!important}
html.light .bp-checks li{color:var(--soft)!important}
html.light .bp-badge{background:var(--bg-card)!important;border-color:var(--border)!important;color:var(--muted)!important}
html.light .bp-badge:hover,html.light .bp-badge.active{border-color:var(--gold)!important;color:var(--gold)!important}
html.light .bp-panel{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .bp-panel-h{color:var(--muted)!important}
html.light .bp-panel-v{color:var(--white)!important}
html.light .city-chip{background:var(--bg-card)!important;border-color:var(--border)!important;color:var(--soft)!important}
html.light .city-chip:hover{border-color:var(--gold)!important;color:var(--gold)!important}
html.light .city-col strong{color:var(--gold)!important}
html.light .city-col a{color:var(--soft)!important}
html.light .app-h{color:var(--white)!important}
html.light .app-sub{color:var(--muted)!important}
html.light .app-btn{background:var(--bg-card)!important;border-color:var(--border)!important;color:var(--white)!important}
html.light .iphone-mock{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .iphone-screen{background:var(--bg-soft)!important}
html.light .cnt-label{color:var(--soft)!important}
html.light .sp-badge{color:var(--soft)!important}
/* ── Light mode: Page-specific title & background overrides ── */
/* All page logos: "Holyn's" span white → dark */
html.light [class*="-logo"] span:first-child{color:#1A1A1A!important}
/* mes-metiers.html */
html.light .mm-hdr{background:var(--bg)!important;border-bottom-color:var(--border)!important}
html.light .mm-title{color:#1A1A1A!important}
html.light .mm-sub{color:var(--muted)!important}
html.light .mm-logo span:first-child{color:#1A1A1A!important}
html.light .mm-km-label{color:#1A1A1A!important}
html.light .mm-km-wrap{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .mm-summary{background:var(--bg-card)!important;border-color:var(--border-gold)!important}
html.light .mm-summary-val{color:#1A1A1A!important}
html.light .mm-summary-label{color:var(--muted)!important}
html.light .mm-chip{border-color:var(--border)!important;color:var(--muted)!important}
html.light .mm-chip:hover{border-color:rgba(166,138,48,.4)!important;color:var(--soft)!important}
html.light .mm-chip.active{border-color:var(--gold)!important;color:var(--gold)!important;background:rgba(166,138,48,.08)!important}
html.light .mm-bc{color:var(--muted)!important}
html.light .mm-toast{background:var(--bg-card)!important}
/* conseils-btp.html */
html.light .cb-hdr{background:var(--bg)!important;border-bottom-color:var(--border)!important}
html.light .cb-logo span:first-child{color:#1A1A1A!important}
html.light .cb-hero{background:linear-gradient(135deg,var(--bg),var(--bg-soft))!important}
html.light .cb-hero h1{color:#1A1A1A!important}
html.light .cb-hero p{color:var(--muted)!important}
html.light .cb-hero-badge{background:rgba(166,138,48,.1)!important;border-color:rgba(166,138,48,.3)!important}
html.light .cb-card{background:var(--bg-card)!important;border-color:var(--border)!important}
html.light .cb-card-title{color:#1A1A1A!important}
html.light .cb-card-cat{color:var(--muted)!important}
html.light .cb-tab{background:var(--bg-card)!important;border-color:var(--border)!important;color:var(--muted)!important}
html.light .cb-tab:hover{border-color:rgba(166,138,48,.3)!important;color:var(--soft)!important}
html.light .cb-tab.active{background:rgba(166,138,48,.08)!important;border-color:var(--gold)!important;color:var(--gold)!important}
/* categorie.html */
html.light .cat-hero-title h1{color:#1A1A1A!important}
html.light .cat-sec-h{color:#1A1A1A!important}
html.light .subcat-name{color:#1A1A1A!important}
html.light .prov-name{color:#1A1A1A!important}
/* mon-espace.html */
html.light .me-user-name{color:#1A1A1A!important}
html.light .me-card-title{color:#1A1A1A!important}
/* parametres.html */
html.light .pm-title{color:#1A1A1A!important}
html.light .pm-card-title{color:#1A1A1A!important}
/* profil pages */
html.light .pi-title{color:#1A1A1A!important}
html.light .pp-title{color:#1A1A1A!important}
html.light .pp-empty h3{color:#1A1A1A!important}
html.light .ps-title{color:#1A1A1A!important}
html.light .ps-card-title{color:#1A1A1A!important}
html.light .sl-title{color:#1A1A1A!important}
/* tickets.html */
html.light .tk-side-title{color:#1A1A1A!important}
html.light .tk-empty h3{color:#1A1A1A!important}
html.light .tk-chat-empty h3{color:#1A1A1A!important}
html.light .tk-chat-head-info h3{color:#1A1A1A!important}
html.light .tk-modal h2{color:#1A1A1A!important}
/* messagerie.html */
html.light .chat-empty h3{color:#1A1A1A!important}
html.light .call-name{color:#1A1A1A!important}
/* shared: rb-card, plan-name, type-card-title */
html.light .rb-card h3{color:#1A1A1A!important}
html.light .plan-name{color:#1A1A1A!important}
html.light .type-card-title{color:#1A1A1A!important}
/* onboarding-presta.html */
html.light .slide-content h2{color:#1A1A1A!important}
/* Guest nav & footer text */
html.light .gnav-link{color:var(--soft)!important}
html.light .gnav-logo{color:var(--gold)!important}
html.light .gfoot-tag{color:var(--muted)!important}
html.light .gfoot h4{color:var(--gold)!important}
html.light .gfoot a{color:var(--muted)!important}
html.light .gfoot-socials a{border-color:var(--border)!important;color:var(--muted)!important}
html.light .gfoot-bottom{color:var(--muted)!important}
/* Cookie popup */
html.light .cookie-popup{background:var(--bg-card)!important;border-top-color:var(--border)!important}
html.light .cookie-text{color:var(--soft)!important}
html.light .cookie-text strong{color:var(--white)!important}
/* Mob menu */
html.light .mob-menu{background:var(--bg-card)!important}
html.light .mob-menu a{color:var(--white)!important}
html.light .mob-menu-head{border-bottom-color:var(--border)!important}
html.light .mob-menu-close{color:var(--muted)!important}
/* Header+sidebar injected by api.js */
html.light .hc-hdr{background:var(--bg)!important;border-bottom-color:var(--border)!important}
html.light .hc-sidebar{background:var(--bg-card)!important;border-left-color:var(--border)!important}
html.light .hc-sidebar a{color:var(--soft)!important}
html.light .hc-sidebar a:hover{color:var(--gold)!important}
/* Search results */
html.light .hs-suggest{background:var(--bg-card)!important;box-shadow:0 12px 40px rgba(0,0,0,.1)!important}
html.light .hs-suggest a{color:var(--white)!important;border-bottom-color:var(--border)!important}
html.light .hs-suggest a:hover{background:var(--bg-soft)!important}
html.light .hsb{background:var(--bg-card)!important;box-shadow:0 8px 40px rgba(0,0,0,.08)!important}
html.light .hsb input{color:var(--white)!important}

/* ── Theme toggle button ── */
.hc-theme-toggle{position:fixed;bottom:24px;left:20px;z-index:10000;width:44px;height:44px;border-radius:50%;border:1px solid var(--border);background:var(--bg-card);color:var(--muted);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s var(--ease);box-shadow:0 4px 16px rgba(0,0,0,.2)}
.hc-theme-toggle:hover{border-color:var(--gold);color:var(--gold);transform:scale(1.1)}
.hc-theme-toggle svg{width:20px;height:20px;transition:transform .4s var(--ease)}
.hc-theme-toggle:hover svg{transform:rotate(30deg)}

/* ── Reset ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;overflow-x:hidden}
body{background:var(--bg);color:var(--white);font-family:var(--sans);font-weight:400;line-height:1.65;overflow-x:hidden;cursor:none}

/* ── iOS Safe Area (Capacitor native app) ── */
body.cap-ios{padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
body.cap-ios nav,body.cap-ios header,body.cap-ios .mm-hdr,body.cap-ios .cb-hdr,body.cap-ios .pop-hdr{padding-top:env(safe-area-inset-top)!important;padding-bottom:2px!important;min-height:calc(30px + env(safe-area-inset-top))!important}
body.cap-ios #nav{height:calc(var(--nav-h) + env(safe-area-inset-top))!important;padding-top:env(safe-area-inset-top)!important;padding-bottom:0!important}
body.cap-ios .dsh-hdr{padding-top:env(safe-area-inset-top)!important;padding-bottom:0!important;min-height:auto!important;margin-top:0!important;height:calc(44px + env(safe-area-inset-top))!important}
body.cap-ios .hc-hdr{padding-top:env(safe-area-inset-top)!important;padding-bottom:0!important;min-height:auto!important;margin-top:0!important;height:calc(60px + env(safe-area-inset-top))!important}
@supports(padding-top:env(safe-area-inset-top)){html.cap-ios,html.cap-ios body{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}}
a{text-decoration:none;color:inherit}
button{border:none;outline:none;background:none}
img{max-width:100%}
ul{list-style:none}

/* ── iOS zoom fix: inputs < 16px cause auto-zoom on focus ── */
@media(max-width:768px){input,select,textarea{font-size:16px !important}}

/* ── Scrollbar ── */
::-webkit-scrollbar{width:6px;height:6px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(201,168,76,.35);border-radius:3px}
::-webkit-scrollbar-thumb:hover{background:rgba(201,168,76,.55)}
*{scrollbar-width:thin;scrollbar-color:rgba(201,168,76,.35) transparent}

/* ── Global transitions ── */
a,button,.nav-dropdown-menu a,.hc-post-option{transition:all .2s ease}

/* ── Custom Cursor ── */
.c-dot{position:fixed;width:7px;height:7px;background:var(--gold);border-radius:50%;pointer-events:none;z-index:99999;transform:translate(-50%,-50%);will-change:left,top}
.c-ring{position:fixed;width:38px;height:38px;border:1.5px solid rgba(201,168,76,.7);border-radius:50%;pointer-events:none;z-index:99998;transform:translate(-50%,-50%);will-change:left,top;transition:width .35s var(--ease),height .35s var(--ease),border-color .35s,opacity .3s}
.c-ring.big{width:58px;height:58px;border-color:rgba(242,217,139,.45)}

/* ── Navigation ── */
#nav{position:fixed;top:0;left:0;right:0;z-index:1000;height:var(--nav-h);display:flex;align-items:center;justify-content:space-between;padding:0 36px;background:rgba(0,0,0,.82);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);border-bottom:1px solid var(--border);transition:height .4s var(--ease),background .4s,border-color .4s;box-sizing:border-box}
#nav.scrolled{height:40px;background:rgba(0,0,0,.96);border-bottom-color:rgba(201,168,76,.12)}
#nav>*,#nav .nav-logo,#nav .nav-links,#nav .btn-sub,#nav .hc-bell-wrap{display:flex!important;align-items:center!important;margin-top:0!important;margin-bottom:0!important}
.nav-logo{font-family:var(--serif);font-size:20px;font-weight:600;letter-spacing:.02em;display:flex;align-items:center;gap:4px;cursor:none;flex-shrink:0;margin-right:20px}
.nav-logo .g{background:var(--gold-gradient);background-size:300%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:shimmer 5s linear infinite}
.nav-links{display:flex;align-items:center;gap:14px;flex:1;justify-content:center}
.nav-links>li>a{font-size:10.5px;font-weight:400;letter-spacing:.07em;text-transform:uppercase;color:var(--soft);position:relative;cursor:none;transition:color .3s}
.nav-links>li>a:not(.nav-dropdown-toggle)::after{content:'';position:absolute;bottom:-4px;left:0;width:0;height:1px;background:var(--gold);transition:width .35s var(--ease)}
.nav-links>li>a:not(.nav-dropdown-toggle):hover,.nav-links>li>a:not(.nav-dropdown-toggle).active{color:var(--gold)}
.nav-links>li>a:not(.nav-dropdown-toggle):hover::after,.nav-links>li>a:not(.nav-dropdown-toggle).active::after{width:100%}
.nav-links>li{position:relative;list-style:none}
.nav-dd{position:relative}
.nav-dropdown-toggle{font-size:11.5px;font-weight:400;letter-spacing:.07em;text-transform:uppercase;color:var(--soft);cursor:none;transition:color .3s;background:none;border:none;padding:0;font-family:var(--sans);display:flex;align-items:center;gap:4px}
.nav-dropdown-toggle::after{content:'';display:inline-block;width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid currentColor;transition:transform .3s}
.nav-dropdown-toggle:hover,.nav-dropdown-toggle.open{color:var(--gold)}
.nav-dropdown-toggle.open::after{transform:rotate(180deg)}
.nav-dropdown-menu{display:none;flex-direction:column;position:absolute;top:100%;left:50%;transform:translateX(-50%);min-width:220px;background:#1a1a1a;border:1px solid #2a2a2a;border-radius:4px;padding:8px 0;z-index:9999;backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 12px 40px rgba(0,0,0,.6)}
.nav-dropdown-menu::before{content:'';position:absolute;top:-14px;left:0;right:0;height:14px}
.nav-dropdown-menu.show{display:flex}
.nav-dd:hover .nav-dropdown-toggle{color:var(--gold)}
.nav-dd:hover .nav-dropdown-toggle::after{transform:rotate(180deg)}
.nav-dd:hover>.nav-dropdown-menu{display:flex}
.nav-dropdown-menu a{display:flex!important;align-items:center;gap:10px;padding:10px 20px;font-size:12px;font-weight:400;letter-spacing:.06em;text-transform:uppercase;color:#ffffff!important;transition:background .2s,color .2s;white-space:nowrap;position:static}
.nav-dropdown-menu a::after{display:none!important}
.nav-dropdown-menu a:hover{background:#2a2a2a;color:#C8A96E!important}
.nav-dropdown-menu .ndm-icon{font-size:14px;width:20px;text-align:center;font-style:normal}
.btn-sub{font-family:var(--sans);font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--bg);background:var(--gold-gradient);background-size:300%;padding:5px 14px;border-radius:2px;cursor:none;animation:shimmer 5s linear infinite;transition:transform .3s,box-shadow .3s;white-space:nowrap;flex-shrink:0;margin-left:14px}
.btn-sub:hover{transform:translateY(-1px);box-shadow:0 8px 30px rgba(201,168,76,.45)}
.nav-mobile-btn{display:none;flex-direction:column;gap:5px;cursor:none;padding:4px}
.nav-mobile-btn span{display:block;width:22px;height:1.5px;background:var(--soft);transition:.3s}

/* ── Footer ── */
footer{background:var(--bg);border-top:1px solid var(--border);padding:80px 48px 40px}
.foot-grid{display:grid;grid-template-columns:2.2fr 1fr 1fr 1fr;gap:60px;max-width:1200px;margin:0 auto 56px}
.foot-tagline{font-size:14px;font-weight:300;color:var(--muted);line-height:1.75;margin-top:14px;margin-bottom:24px}
.foot-socials{display:flex;gap:10px}
.soc-btn{width:36px;height:36px;border:1px solid var(--border);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--muted);font-size:13px;font-weight:600;cursor:none;transition:border-color .3s,color .3s}
.soc-btn:hover{border-color:var(--gold);color:var(--gold)}
.foot-h{font-size:10.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--soft);margin-bottom:18px}
.foot-links li{margin-bottom:9px}
.foot-links a{font-size:13px;color:var(--muted);font-weight:300;cursor:none;transition:color .3s}
.foot-links a:hover{color:var(--gold)}
.foot-bottom{max-width:1200px;margin:0 auto;padding-top:26px;border-top:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}
.foot-bottom p{font-size:12px;color:var(--muted);font-weight:300}
.foot-bottom .g{color:var(--gold)}

/* ── Buttons ── */
.btn-gold{background:var(--gold-gradient);background-size:300%;color:var(--bg);font-family:var(--sans);font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;padding:14px 36px;border-radius:2px;cursor:none;display:inline-block;animation:shimmer 5s linear infinite;transition:transform .3s,box-shadow .3s}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 12px 40px rgba(201,168,76,.55)}
.btn-ghost{background:transparent;color:var(--soft);border:1px solid rgba(255,255,255,.18);font-family:var(--sans);font-size:13px;font-weight:500;letter-spacing:.09em;text-transform:uppercase;padding:14px 36px;border-radius:2px;cursor:none;display:inline-block;transition:border-color .3s,color .3s,transform .3s,box-shadow .3s}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold);transform:translateY(-2px);box-shadow:0 8px 28px rgba(201,168,76,.15)}
.btn-outline-gold{background:transparent;color:var(--gold);border:1px solid var(--border-gold);font-family:var(--sans);font-size:12px;font-weight:600;letter-spacing:.09em;text-transform:uppercase;padding:12px 28px;border-radius:2px;cursor:none;display:inline-block;transition:background .3s,border-color .3s}
.btn-outline-gold:hover{background:rgba(201,168,76,.08);border-color:var(--gold)}

/* ── Section utilities ── */
.s-label{display:flex;align-items:center;gap:12px;font-size:10.5px;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin-bottom:16px}
.s-label::before,.s-label::after{content:'';flex-shrink:0;display:block;width:26px;height:1px;background:rgba(201,168,76,.5)}
.s-center{text-align:center}
.s-center .s-label{justify-content:center}
.s-center .s-desc{margin-left:auto;margin-right:auto}
.s-title{font-family:var(--serif);font-size:clamp(34px,5vw,60px);font-weight:400;line-height:1.08;letter-spacing:-.01em;color:var(--white);margin-bottom:16px}
.s-title em{font-style:italic;background:var(--gold-gradient);background-size:300%;-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;animation:shimmer 5s linear infinite}
.s-desc{font-size:15px;font-weight:300;color:var(--muted);line-height:1.75;max-width:500px}
.gold-rule{width:50px;height:1px;background:var(--gold-gradient);background-size:300%;margin:20px auto;animation:shimmer 5s linear infinite}
.gold-text{color:var(--gold)}

/* ── Badge chips ── */
.badge-chip{display:inline-flex;align-items:center;gap:6px;background:rgba(201,168,76,.08);border:1px solid var(--border-gold);padding:4px 14px;border-radius:100px;font-size:11.5px;font-weight:500;color:var(--gold);letter-spacing:.08em}

/* ── Form elements ── */
.form-group{margin-bottom:22px}
.form-label{display:block;font-size:11.5px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:8px}
.form-input,.form-select,.form-textarea{width:100%;background:rgba(255,255,255,.035);border:1px solid var(--border);border-radius:3px;padding:14px 18px;color:var(--white);font-family:var(--sans);font-size:14px;font-weight:300;outline:none;transition:border-color .3s,box-shadow .3s;-webkit-appearance:none}
.form-input::placeholder,.form-textarea::placeholder{color:var(--muted)}
.form-input:focus,.form-select:focus,.form-textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(201,168,76,.1)}
.form-select{cursor:none;color:var(--soft)}
.form-select option{background:var(--bg-card);color:var(--white)}
.form-textarea{resize:vertical;min-height:110px;line-height:1.6}

/* ── Reveal ── */
.reveal{opacity:0;transform:translateY(36px);transition:opacity .85s var(--ease-out),transform .85s var(--ease-out)}
.reveal.on{opacity:1;transform:none}
.d1{transition-delay:.08s}.d2{transition-delay:.18s}.d3{transition-delay:.28s}
.d4{transition-delay:.38s}.d5{transition-delay:.48s}.d6{transition-delay:.58s}

/* ── Keyframes ── */
@keyframes shimmer{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
@keyframes fadeUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
@keyframes badgePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.45;transform:scale(.75)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes hcPageIn{from{opacity:0}to{opacity:1}}

/* ── Page transitions ── */
body{animation:hcPageIn .35s ease both}
body.hc-page-exit{opacity:0;transition:opacity .2s ease}

/* ── Page wrapper ── */
.page-wrap{padding-top:calc(60px + env(safe-area-inset-top) + 8px)}

/* ── Desktop content container ── */
@media(min-width:1025px){
  .page-wrap,.main-content,[class*="container"]{max-width:1400px;margin-left:auto;margin-right:auto}
  main{min-height:calc(100vh - var(--nav-h));overflow-y:auto}
}

/* ══════════════════════════════════════════════════════════════
   MOBILE MENU — Hamburger + Side Panel + Accordions
   Classes: .hc-burger, .mob-overlay, .mob-panel, .mob-*
══════════════════════════════════════════════════════════════ */

/* ── Hamburger Button (hidden by default, shown via media query) ── */
.hc-burger{display:none;position:fixed;top:8px;right:16px;z-index:100000;background:none !important;border:none !important;cursor:pointer;padding:4px;width:34px;height:28px;flex-direction:column;justify-content:space-between;align-items:stretch;-webkit-tap-highlight-color:transparent}
body.cap-ios .hc-burger{top:calc(env(safe-area-inset-top) + 10px)!important}
.hc-burger span{display:block;width:100%;height:3px;background:#C8A96E;border-radius:2px;transition:all .3s ease}
.hc-burger.active span:nth-child(1){transform:rotate(45deg) translate(6px,6px)}
.hc-burger.active span:nth-child(2){opacity:0}
.hc-burger.active span:nth-child(3){transform:rotate(-45deg) translate(6px,-6px)}

/* ── Overlay (hidden by default) ── */
.mob-overlay{display:none !important;position:fixed;top:0;left:0;width:100vw;height:100vh;background:rgba(0,0,0,.75);z-index:99998;-webkit-tap-highlight-color:transparent}
.mob-overlay.open{display:block !important}

/* ── Side Panel (always off-screen, slides in when .open) ── */
.mob-panel{position:fixed !important;top:0 !important;right:0 !important;width:85vw;max-width:360px;height:100vh;height:100dvh;background:#0a0a0a !important;z-index:99999;transform:translateX(100%) !important;transition:transform .3s ease !important;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;border-left:1px solid #2a2a2a;visibility:hidden}
.mob-panel.open{transform:translateX(0) !important;visibility:visible}

/* ── Body lock ── */
body.mob-open{overflow:hidden !important}

/* ── Panel Header ── */
.mob-head{display:flex;justify-content:space-between;align-items:center;padding:18px 20px;border-bottom:1px solid #2a2a2a;flex-shrink:0}
.mob-logo{font-family:var(--serif);color:#C8A96E;font-size:18px;font-weight:600}
.mob-x{background:none;border:1px solid #333;border-radius:4px;color:#aaa;font-size:22px;width:34px;height:34px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:color .2s,border-color .2s;-webkit-tap-highlight-color:transparent;line-height:1}
.mob-x:hover{color:#C8A96E;border-color:#C8A96E}

/* ── Nav Links ── */
.mob-nav{display:flex;flex-direction:column;padding:6px 0;flex:1}
.mob-nav>a{display:block !important;padding:15px 20px !important;color:#fff !important;text-decoration:none !important;font-size:15px !important;font-weight:500;letter-spacing:.03em;border-bottom:1px solid #1a1a1a !important;transition:color .2s,background .2s;-webkit-tap-highlight-color:transparent}
.mob-nav>a:hover{color:#C8A96E !important;background:rgba(201,168,76,.04) !important}
.mob-nav>a::after{display:none !important}

/* ── Accordion ── */
.mob-acc-btn{display:flex !important;align-items:center;justify-content:space-between;width:100%;padding:15px 20px;color:#fff !important;font-size:15px !important;font-weight:500;letter-spacing:.03em;background:none !important;border:none !important;border-bottom:1px solid #1a1a1a !important;cursor:pointer;font-family:var(--sans);transition:color .2s,background .2s;-webkit-tap-highlight-color:transparent;text-align:left}
.mob-acc-btn:hover{color:#C8A96E !important;background:rgba(201,168,76,.04) !important}
.mob-acc-sub{display:none !important;flex-direction:column;background:#060606}
.mob-acc-sub.open{display:flex !important}
.mob-acc-sub a{display:block !important;padding:13px 20px 13px 44px !important;color:#C8A96E !important;text-decoration:none !important;font-size:14px !important;font-weight:400;border-bottom:1px solid #141414 !important;transition:background .2s}
.mob-acc-sub a::after{display:none !important}
.mob-acc-sub a:last-child{border-bottom:none !important}
.mob-acc-sub a:hover{background:rgba(201,168,76,.06) !important}

/* ── Panel Footer ── */
.mob-foot{padding:16px 20px 32px;border-top:1px solid #2a2a2a;flex-shrink:0;margin-top:auto}
.mob-foot a{display:block;padding:12px 0;color:#e74c3c;font-size:14px;font-weight:500;text-decoration:none;letter-spacing:.04em}
.mob-foot a::after{display:none !important}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
══════════════════════════════════════════════════════════════ */
@media(max-width:1024px){
  #nav{padding:0 16px !important}
  .nav-links{display:none !important}
  .nav-actions{display:none !important}
  .btn-sub{display:none !important}
  .btn-gold-sm{display:none !important}
  .nav-dd{display:none !important}
  .hc-burger{display:flex !important}
}
@media(min-width:1025px){
  .hc-burger{display:none !important}
  .mob-overlay{display:none !important}
  .mob-panel{display:none !important;visibility:hidden !important}
  /* Desktop nav hover effects */
  .nav-dropdown-menu a{min-height:44px}
  .nav-links>li>a,.nav-dropdown-toggle{padding:4px 2px;min-height:44px;display:inline-flex;align-items:center}
}
@media(max-width:768px){
  footer{padding:60px 22px 32px}
  .foot-grid{grid-template-columns:1fr;gap:36px}
  .foot-bottom{flex-direction:column;gap:10px;text-align:center}
  .btn-gold{font-size:11.5px;padding:13px 22px;letter-spacing:.06em}
  .btn-ghost{font-size:11.5px;padding:13px 22px;letter-spacing:.06em}
  .btn-outline-gold{font-size:11px;padding:10px 20px}
  .mob-panel{width:100vw;max-width:100%}
  body{padding-bottom:0!important}
  .hc-burger{display:none !important}
  /* Hide file inputs in headers on mobile (iOS WKWebView renders them visibly) */
  #nav input[type="file"],
  .hc-hdr input[type="file"],
  .dsh-hdr input[type="file"],
  .dsh-right input[type="file"],
  nav input[type="file"],
  header input[type="file"]{display:none!important;visibility:hidden!important;width:0!important;height:0!important;position:absolute!important;opacity:0!important;pointer-events:none!important}
  /* Bell forced right on mobile */
  .hc-bell-wrap,#hc-bell-wrap,[class*="bell-wrap"]{position:absolute!important;right:15px!important;top:50%!important;transform:translateY(-50%)!important;left:auto!important;margin:0!important;z-index:1001!important;}
  .mob-overlay,.mob-overlay.open,
  .mob-panel,.mob-panel.open,
  #hcPanel,#hcPanel.open,
  #hcOverlay,#hcOverlay.open{display:none !important;visibility:hidden !important;transform:translateX(100%) !important}
  footer{padding-bottom:80px}
  #hc-toast{bottom:76px !important}
  /* Hero text overflow fix */
  .hero-h1,.hero-sub,.hero-body,h1,h2,h3,p{overflow-wrap:break-word;word-wrap:break-word}
  /* Footer cities grid: 2 columns on mobile */
  .foot-city-wrap{padding:20px 14px 0 !important;margin-top:0 !important}
  .foot-city-grid{grid-template-columns:repeat(2,1fr) !important;gap:14px 12px !important;font-size:11px !important;margin-top:12px !important}
  .foot-city-grid a{font-size:11px !important;padding:1px 0 !important}
  .foot-city-grid a[style*="font-weight:500"]{font-size:13px !important}
  .foot-grid{gap:28px}
  /* Theme toggle: bottom-right above filters on mobile */
  .hc-theme-toggle{bottom:24px!important;left:16px!important;right:auto!important}
}

/* ── Bottom Nav Bar — DISABLED ────────────────────────── */
.hc-btmnav,.btm-nav,[class*="btmnav"]{display:none!important}

/* ── Post Modal (mobile) ────────────────────────────────────── */
.hc-post-overlay{
  display:none;position:fixed;inset:0;z-index:100001;
  background:rgba(0,0,0,.7);backdrop-filter:blur(4px);
  align-items:flex-end;justify-content:center;
  -webkit-tap-highlight-color:transparent;
}
.hc-post-overlay.open{display:flex}
.hc-post-sheet{
  background:#111;border-radius:18px 18px 0 0;width:100%;max-width:480px;
  max-height:85vh;
  border-top:2px solid #C9A84C;
  animation:hc-sheet-up .3s ease;
  overflow:hidden;
}
@keyframes hc-sheet-up{from{transform:translateY(100%)}to{transform:translateY(0)}}
.hc-post-sheet-header{
  display:flex;justify-content:space-between;align-items:center;
  padding:20px 20px 0;margin-bottom:16px;flex-shrink:0;
}
.hc-post-sheet-title{font-size:17px;font-weight:600;color:#fff;font-family:'DM Sans',system-ui,sans-serif;}
.hc-post-sheet-close{background:none;border:none;color:#888;font-size:28px;cursor:pointer;padding:0 4px;line-height:1;}
.hc-post-body{
  overflow-y:auto;padding:0 20px calc(20px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling:touch;
}
.hc-post-section{margin-bottom:18px;}
.hc-post-section-title{
  font-size:11px;font-weight:700;color:#C9A84C;
  text-transform:uppercase;letter-spacing:1.2px;
  margin-bottom:10px;padding-left:4px;
  font-family:'DM Sans',system-ui,sans-serif;
}
.hc-post-option{
  display:flex;align-items:center;gap:14px;
  padding:14px 16px;margin-bottom:8px;
  background:#1a1a1a;border:1px solid #2a2a2a;border-radius:12px;
  text-decoration:none;color:#fff;cursor:pointer;
  transition:border-color .2s,background .2s;
  -webkit-tap-highlight-color:transparent;
}
.hc-post-option:active,.hc-post-option:hover{border-color:#C9A84C;background:#1f1a0f;}
.hc-post-option-icon{font-size:24px;flex-shrink:0;}
.hc-post-option-body{flex:1;}
.hc-post-option-title{font-size:14px;font-weight:600;color:#fff;margin-bottom:2px;}
.hc-post-option-desc{font-size:12px;color:#888;line-height:1.4;}
@media(max-width:420px){
  #nav{padding:0 12px !important}
  .nav-logo{font-size:20px}
}
@media(hover:none) and (pointer:coarse){
  *{cursor:auto !important}
  .c-dot,.c-ring{display:none !important}
}
