/* ============================================================
   Montaire Collection — Design System
   Palette: deep black, near-black surface, champagne gold, ivory
   Type: serif display (Cormorant Garamond) + clean sans body (Inter)
   ============================================================ */

:root {
  --black: #0a0908;
  --surface: #131110;
  --surface-2: #1b1815;
  --gold: #c9a24b;
  --gold-bright: #e3c07a;
  --ivory: #f3ede0;
  --line: rgba(201, 162, 75, 0.25);
  --line-soft: rgba(243, 237, 224, 0.1);
  --on-gold: #0a0908;
  --black-rgb: 10, 9, 8;
  --ivory-rgb: 243, 237, 224;
  --surface-rgb: 19, 17, 16;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(.19,1,.22,1);
}

* { box-sizing: border-box; }

body {
  background: var(--black);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ivory);
  margin: 0;
}

a { color: inherit; text-decoration: none; }

.text-gold { color: var(--gold); }
.italic-gold { font-style: italic; color: var(--gold-bright); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
@media (max-width: 768px) { .section { padding: 56px 0; } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; padding: 15px 30px;
  border: 1px solid var(--gold); transition: all .35s var(--ease);
  cursor: pointer; background: transparent;
}
.btn-primary { background: var(--gold); color: var(--on-gold); }
.btn-primary:hover { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn-outline { color: var(--ivory); border-color: var(--line-soft); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.card:hover { border-color: var(--line); }

.hairline { border: none; border-top: 1px solid var(--line-soft); }

.divider-v { width: 1px; background: var(--line-soft); }

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 22px 0; transition: background .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: rgba(var(--black-rgb),0.92);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  border-bottom-color: var(--line-soft);
}
.nav-link {
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: var(--ivory); opacity: 0.85;
  position: relative; padding-bottom: 4px;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { opacity: 1; color: var(--gold); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* Hero */
.hero-slide { position: relative; min-height: 80vh; background: #0a0908; }
.hero-overlay {
  position: absolute; inset: 0;
  /* Mobile/default: simple top-to-bottom scrim, image visible full-bleed. */
  background: linear-gradient(180deg, rgba(var(--black-rgb),.55) 0%, rgba(var(--black-rgb),.25) 40%, rgba(var(--black-rgb),.85) 100%);
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Crossfade between carousel slides — both the outgoing and incoming
   pane sit in the same spot and simply fade opacity in/out together,
   rather than an abrupt display:none/block cut. */
.hero-pane { opacity: 0; transition: opacity 1.4s ease-in-out; }
.hero-pane.active { opacity: 1; z-index: 1; }

/* Hero text sits close to the true left edge with a consistent,
   modest margin — independent of the centered .container used
   everywhere else, which would otherwise leave a huge empty gutter
   on wide screens. Scales gently between mobile and ultra-wide. */
.hero-text-block {
  padding-left: clamp(24px, 6vw, 90px);
  padding-right: 24px;
}

/* Logo above the hero heading: keeps roughly its prior scale on
   mobile, noticeably larger on desktop — matches the "bigger screens
   only" treatment used for the hero gradient below. */
.hero-logo { height: clamp(100px, 18vh, 150px); width: auto; }
@media (min-width: 981px) {
  .hero-logo { height: clamp(170px, 22vh, 250px); }
}

/* Desktop only: text sits on a solid dark field on the left, which
   fades away moving right so the image reveals itself progressively
   — left-to-right, dark-to-image. Mobile keeps the plain scrim above. */
@media (min-width: 981px) {
  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(var(--black-rgb),.3) 0%, rgba(var(--black-rgb),.05) 45%, rgba(var(--black-rgb),.65) 100%),
      linear-gradient(90deg,
        var(--black) 0%,
        rgba(var(--black-rgb),0.97) 20%,
        rgba(var(--black-rgb),0.82) 34%,
        rgba(var(--black-rgb),0.5) 48%,
        rgba(var(--black-rgb),0.18) 62%,
        rgba(var(--black-rgb),0) 78%
      );
  }
}

/* Feature strip */
.feature-item { padding: 28px 20px; text-align: center; }
.feature-item svg { color: var(--gold); }

/* Fade-up reveal */
/* (reveal animations live in the "Scroll motion" block at the end of this file) */

/* Gallery */
.gallery-thumb { cursor: pointer; opacity: 0.55; transition: opacity .25s var(--ease), border-color .25s; border: 1px solid transparent; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--gold); }

/* Forms */
input, textarea, select {
  font-family: var(--font-body); color: var(--ivory);
}
input::placeholder, textarea::placeholder { color: rgba(var(--ivory-rgb),0.4); }

.field-input {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 2px;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 300;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field-input:focus {
  outline: none;
  border-bottom-color: var(--gold);
  box-shadow: 0 1px 0 0 var(--gold);
}
.field-input::placeholder { color: rgba(var(--ivory-rgb),0.32); }

/* Multi-line fields read better as a soft panel than a single
   underline, so textareas get their own refined box treatment. */
textarea.field-input {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  resize: vertical;
  min-height: 120px;
}
textarea.field-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

select.field-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9a24b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 26px;
}
select.field-input option { background: var(--surface); color: var(--ivory); }
input[type="date"].field-input {
  color-scheme: dark;
}
input[type="date"].field-input::-webkit-calendar-picker-indicator {
  filter: invert(70%) sepia(40%) saturate(500%) hue-rotate(360deg);
  cursor: pointer;
}
.field-input-inline {
  flex: 1;
  border-right: none;
}
label.field-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  display: block;
  margin-bottom: 9px;
  font-weight: 500;
}
.field-group { margin-bottom: 6px; }

/* Panel that wraps a form — a subtle gold hairline across the top,
   soft gradient wash, generous padding for a boutique-hotel feel. */
.form-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(201,162,75,0.035), rgba(255,255,255,0.008));
  border: 1px solid var(--line);
  padding: 40px 36px;
}
.form-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.form-panel .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* Utility grid helpers kept minimal, no framework */
.grid { display: grid; gap: 24px; }
.flex { display: flex; flex-wrap: wrap; }
.center { align-items: center; justify-content: center; }

/* ============================================================
   Responsive grid system
   Every multi-column layout in this project uses one of these
   classes (plus an inline style for the *desktop* column ratio).
   The inline style sets the desktop layout; these classes define
   what happens as the viewport narrows, and win the cascade at
   each breakpoint regardless of the inline desktop value.
   ============================================================ */
.grid-cards-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cards-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cards-4 { grid-template-columns: repeat(4, 1fr); }
.grid-cards-5 { grid-template-columns: repeat(5, 1fr); }
.grid-split   { grid-template-columns: 1fr 1fr; }      /* even two-column split */
.grid-wide    { }                                       /* asymmetric split, e.g. 1.6fr 1fr — desktop ratio set inline */

@media (max-width: 980px) {
  .grid-cards-3, .grid-cards-4, .grid-cards-5 { grid-template-columns: repeat(2, 1fr) !important; }
  .grid-wide { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  .grid-cards-2, .grid-cards-3, .grid-cards-4, .grid-cards-5,
  .grid-split, .grid-wide {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 720px) {
  .section { padding: 48px 0; }
  .container { padding: 0 18px; }
  h1 { font-size: 1.9rem !important; }
  h2 { font-size: 1.5rem !important; }
  .btn { padding: 13px 22px; font-size: 0.68rem; }
}

/* Any inline flex row not explicitly built to scroll horizontally
   should wrap instead of overflowing/overlapping on narrow screens. */
@media (max-width: 720px) {
  [style*="display:flex"]:not([style*="overflow-x"]) {
    flex-wrap: wrap !important;
  }
  [style*="min-width:340px"] {
    min-width: 0 !important;
    width: 100% !important;
  }
}

/* Sticky sidebars only make sense beside content — once the layout
   stacks to one column (see .grid-wide above) sticky positioning
   should turn off too, or it can visually overlap content while
   scrolling. */
@media (max-width: 980px) {
  [style*="position:sticky"] {
    position: static !important;
    top: auto !important;
  }
}

::selection { background: var(--gold); color: var(--on-gold); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--surface-2); border: 2px solid var(--black); }

/* Rich text content from CKEditor (blog post body) — scoped so the
   editor's plain HTML output (h2/h3/p/ul/blockquote/img/a/table)
   matches the site's dark, editorial look without needing per-post
   inline styling from whoever writes the post. */
.rich-content { opacity: 0.85; line-height: 1.9; font-size: 1rem; }
.rich-content p { margin: 0 0 22px; }
.rich-content h2 {
  font-size: 1.5rem; margin: 40px 0 18px; opacity: 1;
  padding-bottom: 10px; border-bottom: 1px solid var(--line-soft);
}
.rich-content h3 { font-size: 1.2rem; margin: 32px 0 14px; opacity: 1; }
.rich-content h4 { font-size: 1.05rem; margin: 26px 0 12px; opacity: 1; color: var(--gold); }
.rich-content ul, .rich-content ol { margin: 0 0 22px; padding-left: 22px; }
.rich-content li { margin-bottom: 8px; }
.rich-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.rich-content a:hover { color: var(--gold-bright); }
.rich-content blockquote {
  margin: 28px 0; padding: 4px 0 4px 22px;
  border-left: 2px solid var(--gold);
  font-family: var(--font-display); font-style: italic;
  font-size: 1.15rem; opacity: 0.95;
}
.rich-content img { max-width: 100%; height: auto; margin: 28px 0; display: block; }
.rich-content hr { border: none; border-top: 1px solid var(--line-soft); margin: 36px 0; }
.rich-content table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.rich-content th, .rich-content td { border: 1px solid var(--line-soft); padding: 10px 14px; text-align: left; font-size: 0.9rem; }
.rich-content th { color: var(--gold); font-weight: 500; }

/* ============================================================
   Added UI elements: skip link, breadcrumbs, floating actions,
   CTA banner, process steps, FAQ accordion, focus states
   ============================================================ */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 300;
  background: var(--gold); color: var(--on-gold); padding: 10px 18px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero-pane { transition: none; }
}
img { max-width: 100%; }

.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 0.76rem; letter-spacing: 0.04em; opacity: 0.6; margin-bottom: 22px;
}
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs [aria-current] { color: var(--gold); }

.fab {
  position: fixed; right: 22px; z-index: 150; width: 50px; height: 50px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--gold); cursor: pointer;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.fab i, .fab svg { width: 22px; height: 22px; }
.fab-whatsapp { bottom: 86px; background: var(--gold); color: var(--on-gold); box-shadow: 0 8px 28px rgba(201,162,75,.3); }
.fab-whatsapp:hover { background: var(--gold-bright); transform: translateY(-3px); }
.fab-top { bottom: 22px; background: rgba(var(--black-rgb),.9); color: var(--gold); opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab-top.show { opacity: 1; pointer-events: auto; transform: none; }
.fab-top:hover { background: var(--gold); color: var(--on-gold); }

.cta-banner {
  position: relative; padding: 96px 0; border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201,162,75,.12), transparent 65%),
    var(--black);
}
.cta-banner::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.step { padding: 32px 26px; border: 1px solid var(--line-soft); background: var(--surface); position: relative; transition: border-color .35s var(--ease), transform .35s var(--ease); }
.step:hover { border-color: var(--line); transform: translateY(-4px); }
.step > i, .step > svg { width: 28px; height: 28px; color: var(--gold); margin-bottom: 18px; display: block; }
.step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.step p { font-size: 0.86rem; opacity: 0.7; margin: 0; }
.step-num { position: absolute; top: 20px; right: 24px; font-family: var(--font-display); font-size: 2rem; color: var(--gold); opacity: .28; }

.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 36px 22px 0; position: relative;
  font-family: var(--font-display); font-size: 1.2rem; color: var(--ivory);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--gold); font-size: 1.5rem; font-family: var(--font-body); font-weight: 300;
  transition: transform .3s var(--ease);
}
.faq-item[open] summary { color: var(--gold); }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { margin: 0 0 24px; opacity: 0.75; font-size: 0.93rem; max-width: 720px; }

/* ---------- Partners page ---------- */
.partners-hero {
  position: relative; padding: 170px 0 96px; overflow: hidden;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(201,162,75,.16), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(201,162,75,.07), transparent 50%),
    var(--black);
}
.partners-hero::after {
  content: ''; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px;
  border: 1px solid var(--line); border-radius: 50%; transform: translateY(-50%);
  box-shadow: 0 0 0 60px rgba(201,162,75,.025), 0 0 0 120px rgba(201,162,75,.015);
  pointer-events: none;
}
.partner-type { padding: 34px 28px; }
.partner-type:hover { transform: translateY(-5px); }
.partner-type h3 { font-size: 1.3rem; margin: 20px 0 10px; }
.partner-type p { font-size: 0.88rem; opacity: 0.7; margin: 0; }
.partner-icon {
  width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--gold);
  display: flex; align-items: center; justify-content: center; color: var(--gold);
}
.partner-icon i, .partner-icon svg { width: 26px; height: 26px; }
.benefit { padding: 24px; border: 1px solid var(--line-soft); background: var(--black); transition: border-color .35s var(--ease); }
.benefit:hover { border-color: var(--line); }
.benefit > i, .benefit > svg { width: 24px; height: 24px; color: var(--gold); margin-bottom: 14px; display: block; }
.benefit h4 { font-size: 1.1rem; margin-bottom: 6px; }
.benefit p { font-size: 0.84rem; opacity: 0.68; margin: 0; }
.partner-carousel {
  overflow-x: auto; scrollbar-width: none; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partner-carousel::-webkit-scrollbar { display: none; }
.partner-carousel.running { overflow: hidden; }
.partner-track { display: flex; gap: 18px; width: max-content; }
.partner-carousel.running .partner-track { animation: partner-scroll 40s linear infinite; }
.partner-carousel.running:hover .partner-track,
.partner-carousel.running:focus-within .partner-track,
.partner-carousel.paused .partner-track { animation-play-state: paused; }
@keyframes partner-scroll { to { transform: translateX(calc(-50% - 9px)); } }
.partner-track .logo-tile { flex: 0 0 220px; }
.partner-controls { display: flex; justify-content: center; margin-top: 22px; }
.partner-controls button {
  width: 38px; height: 38px; border-radius: 50%; background: transparent; cursor: pointer;
  border: 1px solid var(--line); color: var(--gold); display: flex; align-items: center; justify-content: center;
  transition: all .3s var(--ease);
}
.partner-controls button:hover { background: var(--gold); color: var(--on-gold); }
.partner-controls svg, .partner-controls i { width: 16px; height: 16px; }
.partner-carousel.static ~ .partner-controls { display: none; }
.logo-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 28px 20px; min-height: 150px; border: 1px solid var(--line-soft); background: var(--surface);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.logo-tile:hover { border-color: var(--gold); transform: translateY(-3px); }
.logo-tile img { max-height: 56px; max-width: 150px; width: auto; object-fit: contain; filter: grayscale(1) brightness(1.2); opacity: .8; transition: all .35s var(--ease); }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-tile span { font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .5; }
@media (max-width: 720px) { .partners-hero { padding: 130px 0 64px; } .partners-hero::after { display: none; } }

/* ============================================================
   Marketplace, directory, PWA and native-app UI
   ============================================================ */
.search-card { background: rgba(var(--surface-rgb),.92); border: 1px solid var(--line); max-width: 920px; backdrop-filter: blur(8px); }
.search-card .tabs { display: flex; border-bottom: 1px solid var(--line-soft); }
.search-card .tabs a {
  display: flex; align-items: center; gap: 8px; padding: 16px 26px; font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; font-weight: 600; opacity: .6;
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .3s var(--ease);
}
.search-card .tabs a svg, .search-card .tabs a i { width: 16px; height: 16px; }
.search-card .tabs a.active, .search-card .tabs a:hover { opacity: 1; color: var(--gold); border-bottom-color: var(--gold); }
.search-row { display: flex; flex-wrap: wrap; gap: 22px; padding: 26px; align-items: flex-end; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-bottom: 36px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line-soft); }
.filter-bar .field-input { flex: 1; min-width: 160px; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); padding: 4px 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-lg { padding: 9px 16px; font-size: .74rem; transition: all .3s var(--ease); cursor: pointer; }
.chip-lg b { font-weight: 600; color: var(--ivory); opacity: .7; }
a.chip-lg:hover, .chip-lg.on { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
a.chip-lg:hover b, .chip-lg.on b { color: var(--on-gold); }
.badge-verified {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 5px;
  background: var(--gold); color: var(--on-gold); font-size: .64rem; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 10px; font-weight: 600;
}
.cta-tile { padding: 40px 34px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cta-tile > i, .cta-tile > svg { width: 30px; height: 30px; color: var(--gold); }
.cta-tile h3 { font-size: 1.5rem; }
.cta-tile p { opacity: .7; margin: 0 0 10px; }

.store-btn {
  display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; background: var(--ivory);
  color: var(--black); border: 1px solid var(--ivory); cursor: pointer; font-family: var(--font-body);
  font-size: .95rem; font-weight: 600; text-align: left; transition: all .3s var(--ease);
}
.store-btn small { display: block; font-size: .62rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.store-btn:hover { background: var(--gold); border-color: var(--gold); }
.store-btn svg, .store-btn i { width: 26px; height: 26px; }
.phone-frame {
  width: 240px; height: 240px; margin: 0 auto; border-radius: 52px; overflow: hidden; background: #000;
  border: 1px solid var(--line); box-shadow: 0 0 0 14px rgba(201,162,75,.05), 0 30px 80px rgba(0,0,0,.6);
}
.phone-frame img { width: 100%; height: 100%; object-fit: cover; }
.steps-list { margin: 0; padding-left: 20px; line-height: 2; opacity: .85; }

.plan { padding: 34px 30px; display: flex; flex-direction: column; gap: 6px; }
.plan.featured { border-color: var(--gold); }
.plan h3 { font-size: 1.5rem; margin-top: 8px; }
.plan ul { list-style: none; padding: 0; margin: 12px 0 24px; flex: 1; }
.plan li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .9rem; opacity: .85; }
.plan li::before { content: '✓'; color: var(--gold); margin-right: 10px; }

/* Install button (web only) + offline bar (native only) */
.offline-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 400; background: var(--gold); color: var(--on-gold); font-size: .78rem; text-align: center; padding: calc(env(safe-area-inset-top) + 6px) 10px 6px; transform: translateY(-110%); transition: transform .3s var(--ease); font-weight: 600; }
.offline-bar.show { transform: none; }

/* Native app: safe areas, hide install CTAs, no rubber-band, tap feel */
:root { --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); }
.fab-top { bottom: calc(22px + var(--safe-bottom)); }
.fab-whatsapp { bottom: calc(86px + var(--safe-bottom)); }
.is-native .navbar { padding-top: calc(var(--safe-top) + 14px); }
.is-native [data-install], .is-native .web-only { display: none !important; }
.is-native body { overscroll-behavior-y: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; user-select: none; }
.is-native input, .is-native textarea, .is-native .rich-content { user-select: text; }
.is-native footer { padding-bottom: var(--safe-bottom); }

@media (max-width: 980px) {
  .search-row { padding: 20px; gap: 16px; }
  .search-row .btn { width: 100%; justify-content: center; }
  .search-card .tabs a { flex: 1; justify-content: center; padding: 14px 10px; }
}

.nav-more { position: relative; }
.nav-more-menu {
  position: absolute; right: -16px; top: 100%; min-width: 210px; padding: 10px 0; margin-top: 10px;
  background: rgba(var(--black-rgb),.97); border: 1px solid var(--line); opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .25s var(--ease);
}
.nav-more::before { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.nav-more:hover .nav-more-menu, .nav-more:focus-within .nav-more-menu { opacity: 1; visibility: visible; transform: none; }
.nav-more-menu a { display: block; padding: 11px 22px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.nav-more-menu a:hover { color: var(--gold); background: rgba(201,162,75,.06); opacity: 1; }


/* ============================================================
   Theme: light mode (dark is the brand default) + dark scopes
   ============================================================ */
html[data-theme="light"] {
  color-scheme: light;
  --black: #faf7f0; --surface: #f2ede0; --surface-2: #e9e2d0;
  --gold: #8f6f1f; --gold-bright: #6f5513; --ivory: #1c1814;
  --line: rgba(143, 111, 31, 0.35); --line-soft: rgba(28, 24, 20, 0.12);
  --black-rgb: 250, 247, 240; --ivory-rgb: 28, 24, 20; --surface-rgb: 242, 237, 224;
}
/* Sections that sit on photography keep the dark palette in either theme */
html[data-theme="light"] .on-dark,
html[data-theme="light"] .hero-slide,
html[data-theme="light"] .has-hero .navbar:not(.scrolled),
html[data-theme="light"] #lightbox {
  --black: #0a0908; --surface: #131110; --surface-2: #1b1815;
  --gold: #c9a24b; --gold-bright: #e3c07a; --ivory: #f3ede0;
  --line: rgba(201, 162, 75, 0.25); --line-soft: rgba(243, 237, 224, 0.1);
  --black-rgb: 10, 9, 8; --ivory-rgb: 243, 237, 224; --surface-rgb: 19, 17, 16;
  color: var(--ivory);
}
/* transparent gold logo on a light page: a hairline dark edge keeps it crisp */
html[data-theme="light"] .navbar img[src*="logo"], html[data-theme="light"] footer img[src*="logo"] { filter: drop-shadow(0 0 .7px rgba(45, 30, 5, .95)) drop-shadow(0 1px 2px rgba(0, 0, 0, .22)); }
html[data-theme="light"] .navbar.scrolled { box-shadow: 0 1px 24px rgba(0,0,0,.06); }
html[data-theme="light"] ::-webkit-scrollbar-thumb { background: #d6cdb6; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--ivory); border: 1px solid var(--line-soft); cursor: pointer;
  transition: all .3s var(--ease); flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--gold); color: var(--gold); }
.theme-toggle svg, .theme-toggle i { width: 18px; height: 18px; }
.theme-toggle .i-moon { display: none; }
html[data-theme="light"] .theme-toggle .i-sun { display: none; }
html[data-theme="light"] .theme-toggle .i-moon { display: inline-block; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-app {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px;
  background: var(--gold); color: var(--on-gold); font-size: .74rem; letter-spacing: .08em; font-weight: 600;
  white-space: nowrap; transition: background .3s var(--ease);
}
.btn-app:hover { background: var(--gold-bright); }
.btn-app svg, .btn-app i { width: 15px; height: 15px; }

/* Home: audience cards, flow, trust, hero search, app band */
.hero-search {
  display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; max-width: 560px;
  background: rgba(0,0,0,.55); border: 1px solid var(--line); backdrop-filter: blur(8px);
}
.hero-search input, .hero-search select {
  flex: 1; min-width: 150px; background: transparent; border: none; color: #f3ede0; padding: 16px 18px;
  font-family: var(--font-body); font-size: .9rem; outline-offset: -2px;
}
.hero-search select { flex: 0 0 150px; border-left: 1px solid var(--line-soft); }
.hero-search select option { background: #131110; color: #f3ede0; }
.hero-search button { border: none; padding: 0 24px; background: var(--gold); color: var(--on-gold); font-weight: 600; letter-spacing: .14em; font-size: .72rem; text-transform: uppercase; cursor: pointer; min-height: 52px; }
.hero-search button:hover { background: var(--gold-bright); }
@media (max-width: 560px) { .hero-search select { flex: 1 1 100%; border-left: none; border-top: 1px solid var(--line-soft); } .hero-search button { width: 100%; } }

.audience { padding: 34px 30px; display: flex; flex-direction: column; gap: 6px; }
.audience:hover { transform: translateY(-5px); border-color: var(--gold); }
.audience .partner-icon { margin-bottom: 14px; background: rgba(201,162,75,.08); }
.audience h3 { font-size: 1.45rem; line-height: 1.2; margin-bottom: 8px; }
.audience > p { font-size: .88rem; opacity: .7; margin: 0 0 18px; line-height: 1.7; }
.audience ul { list-style: none; margin: 0 0 22px; padding: 0; flex: 1; }
.audience li { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; font-weight: 500; padding: 8px 0; }
.audience li svg, .audience li i { width: 16px; height: 16px; color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.audience .more { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }

.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: flow; position: relative; }
.flow-step { padding: 8px 22px 0; position: relative; text-align: center; }
.flow-step::before {
  counter-increment: flow; content: counter(flow); display: flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin: 0 auto 20px; border-radius: 50%; border: 1px solid var(--gold);
  background: var(--black); color: var(--gold); font-family: var(--font-display); font-size: 1.4rem; position: relative; z-index: 1;
}
.flow-step:not(:last-child)::after { content: ''; position: absolute; top: 35px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 1px; background: var(--line); }
.flow-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.flow-step p { font-size: .82rem; opacity: .68; margin: 0; }
@media (max-width: 980px) {
  .flow { grid-template-columns: 1fr; gap: 30px; }
  .flow-step { display: grid; grid-template-columns: 54px 1fr; gap: 0 18px; text-align: left; padding: 0; }
  .flow-step::before { grid-row: span 2; margin: 0; }
  .flow-step::after { display: none; }
}
.app-band { position: relative; padding: 80px 0; border-top: 1px solid var(--line-soft); background: radial-gradient(ellipse at 100% 50%, rgba(201,162,75,.12), transparent 60%), var(--surface); overflow: hidden; }

/* ============================================================
   Dashboards (account, owner, provider, PMS workspace)
   ============================================================ */
.dash-wrap { padding: 130px 0 80px; min-height: 80vh; }
.dash-grid { display: grid; grid-template-columns: 250px 1fr; gap: 40px; align-items: start; }
.dash-side { position: sticky; top: 100px; border: 1px solid var(--line-soft); background: var(--surface); padding: 22px 16px; }
.dash-user { display: flex; gap: 12px; align-items: center; padding: 0 8px 18px; border-bottom: 1px solid var(--line-soft); margin-bottom: 14px; font-size: .88rem; overflow: hidden; }
.dash-user > div { min-width: 0; } .dash-user > div > div { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--on-gold); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.2rem; flex-shrink: 0; }
.dash-nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav a, .dash-nav button {
  display: flex; align-items: center; gap: 12px; padding: 11px 10px; font-size: .84rem; width: 100%;
  background: none; border: none; color: var(--ivory); opacity: .8; cursor: pointer; text-align: left; font-family: var(--font-body);
  border-left: 2px solid transparent; transition: all .2s var(--ease);
}
.dash-nav a svg, .dash-nav button svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }
.dash-nav a:hover, .dash-nav button:hover { opacity: 1; background: rgba(201,162,75,.06); }
.dash-nav a.on { opacity: 1; border-left-color: var(--gold); background: rgba(201,162,75,.08); color: var(--gold); }
.dash-group { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); opacity: .7; padding: 16px 10px 6px; }
.dash-badge { margin-left: auto; background: var(--gold); color: var(--on-gold); border-radius: 999px; font-size: .68rem; padding: 1px 8px; }
.dash-main { min-width: 0; }
.dash-h1 { font-size: 2.2rem; margin-top: 10px; }
.dash-card { padding: 28px; display: block; }
.dash-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.dash-card > svg, .dash-card > i { width: 26px; height: 26px; color: var(--gold); margin-bottom: 14px; display: block; }
.dash-card h3 { font-size: 1.25rem; margin-bottom: 6px; } .dash-card p { font-size: .86rem; opacity: .68; margin: 0; }
.tabs-row { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); margin: 22px 0 28px; }
.tabs-row a { padding: 12px 18px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .6; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs-row a:hover, .tabs-row a.on { opacity: 1; color: var(--gold); border-bottom-color: var(--gold); }
.data-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.data-table th { text-align: left; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.data-table tr:hover td { background: rgba(201,162,75,.04); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); background: var(--surface); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; margin: 24px 0; }
.stat { border: 1px solid var(--line-soft); background: var(--surface); padding: 22px; }
.stat .v { font-family: var(--font-display); font-size: 2rem; color: var(--gold); line-height: 1.1; }
.stat .l { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-top: 6px; }
.pill { display: inline-block; font-size: .64rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border: 1px solid var(--line); color: var(--gold); white-space: nowrap; }
.pill.ok { color: #6fcf97; border-color: rgba(111,207,151,.4); } .pill.warn { color: #f2c94c; border-color: rgba(242,201,76,.4); }
.pill.bad { color: #eb7a7a; border-color: rgba(235,122,122,.45); } .pill.mute { color: var(--ivory); opacity: .6; border-color: var(--line-soft); }
html[data-theme="light"] .pill.ok { color: #1f7a45; } html[data-theme="light"] .pill.warn { color: #8a6a00; } html[data-theme="light"] .pill.bad { color: #b02a2a; }
.bar { height: 8px; background: var(--line-soft); position: relative; } .bar > i { display: block; height: 100%; background: var(--gold); }
.compare-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 140; transform: translateY(110%); transition: transform .35s var(--ease); background: rgba(var(--surface-rgb), .97); border-top: 1px solid var(--gold); padding: 14px 0 calc(14px + var(--safe-bottom, 0px)); backdrop-filter: blur(8px); }
.compare-tray.show { transform: none; }
.msg-thread { display: flex; flex-direction: column; gap: 12px; max-height: 56vh; overflow-y: auto; padding: 8px 4px; }
.msg { max-width: 76%; padding: 12px 16px; font-size: .9rem; line-height: 1.6; border: 1px solid var(--line-soft); background: var(--surface); white-space: pre-line; word-wrap: break-word; }
.msg.me { align-self: flex-end; background: rgba(201,162,75,.12); border-color: var(--line); }
.msg small { display: block; opacity: .5; font-size: .66rem; margin-top: 6px; }
.heart-btn { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(var(--black-rgb), .75); border: 1px solid var(--line); color: var(--gold); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.heart-btn svg { width: 17px; height: 17px; } .heart-btn.on { background: var(--gold); color: var(--on-gold); } .heart-btn.on svg { fill: currentColor; }
@media (max-width: 980px) {
  .dash-grid { grid-template-columns: 1fr; gap: 24px; }
  .dash-side { position: static; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; } .dash-nav a, .dash-nav button { width: auto; border-left: none; border-bottom: 2px solid transparent; }
  .dash-nav a.on { border-bottom-color: var(--gold); } .dash-group, .dash-user { display: none; }
  .msg { max-width: 92%; }
}

/* maps, tray, toast, cards */
.tray-item { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line-soft); padding: 6px 8px; background: var(--surface); font-size: .8rem; max-width: 220px; }
.tray-item img { width: 44px; height: 36px; object-fit: cover; } .tray-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tray-item button { background: none; border: none; color: var(--gold); cursor: pointer; font-size: 1.2rem; line-height: 1; padding: 0 2px; }
.toast { position: fixed; left: 50%; bottom: calc(80px + var(--safe-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; z-index: 500; background: var(--gold); color: var(--on-gold); padding: 12px 22px; font-size: .84rem; font-weight: 600; transition: all .35s var(--ease); max-width: 90vw; text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.cmp-btn { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; background: rgba(var(--black-rgb), .8); border: 1px solid var(--line); color: var(--ivory); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; cursor: pointer; font-family: var(--font-body); }
.cmp-btn svg { width: 13px; height: 13px; color: var(--gold); } .cmp-btn.on { background: var(--gold); color: var(--on-gold); border-color: var(--gold); } .cmp-btn.on svg { color: var(--on-gold); }
.dist-badge { position: absolute; right: 12px; bottom: 12px; z-index: 3; background: var(--gold); color: var(--on-gold); font-size: .68rem; font-weight: 600; padding: 4px 10px; letter-spacing: .06em; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 640px; } .cmp-table th, .cmp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; font-size: .88rem; }
.cmp-table th.row { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 500; width: 150px; white-space: nowrap; }
.cmp-table .best { color: #6fcf97; font-weight: 600; } html[data-theme="light"] .cmp-table .best { color: #1f7a45; }
.lead-hot { border-left: 3px solid #eb7a7a; } .lead-warm { border-left: 3px solid #f2c94c; } .lead-cold { border-left: 3px solid var(--line-soft); }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px 18px; } .check-grid label { display: flex; gap: 8px; align-items: center; font-size: .86rem; cursor: pointer; }
.thumb-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; } .thumb-grid .th { position: relative; aspect-ratio: 4/3; overflow: hidden; border: 1px solid var(--line-soft); }
.thumb-grid img { width: 100%; height: 100%; object-fit: cover; } .thumb-grid button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; background: rgba(0,0,0,.75); color: #fff; border: none; cursor: pointer; }
.compare-tray .container { padding-right: 84px; }
.org-switch { position: relative; display: inline-flex; align-items: center; gap: 4px; font-size: 1rem; }
.org-switch select { background: transparent; border: 1px solid var(--line); color: var(--ivory); padding: 6px 10px; font-size: .8rem; font-family: var(--font-body); }
.org-switch select option { background: var(--surface); }
.trend { display: flex; align-items: flex-end; gap: 14px; height: 150px; margin-top: 12px; }
.trend .col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; font-size: .7rem; }
.trend .bars { width: 100%; height: 110px; display: flex; align-items: flex-end; gap: 3px; }
.trend .bars i { flex: 1; display: block; background: var(--line); } .trend .bars i.c { background: var(--gold); }

.nav-login { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 10px 6px; opacity: .9; }
.nav-login:hover { color: var(--gold); opacity: 1; }
.nav-account { position: relative; display: inline-flex; }
.nav-dot { position: absolute; top: -4px; right: -6px; background: #eb7a7a; color: #fff; font-size: .62rem; border-radius: 999px; min-width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; padding: 0 5px; }

/* ---- Mobile polish: hero ---- */
html, body { overflow-x: clip; }
@media (max-width: 720px) {
  .hero-logo { display: none; }                         /* the navbar already shows the logo on phones */
  .hero-slide { min-height: 100svh; align-items: flex-end !important; }
  .hero-text-block { padding-top: 96px !important; padding-bottom: 150px; padding-right: 20px; padding-left: 20px; width: 100%; }
  .hero-text-block h1 { font-size: 2.3rem !important; }
  .hero-search { margin-top: 24px; max-width: 100%; }
  .fab { width: 44px; height: 44px; right: 14px; }
  .fab-whatsapp { bottom: calc(76px + var(--safe-bottom, 0px)); }
}

/* the search box must always sit above everything else in the hero */
.hero-search { position: relative; z-index: 5; }
.hero-dots { z-index: 1 !important; }

/* ============================================================
   Rounded buttons everywhere
   ============================================================ */
:root { --btn-radius: 999px; }
.btn, a.btn, button.btn, .btn-app, .store-btn, .hero-search, .hero-search button, .cmp-btn, .chip-lg,
.skip-link, .dist-badge, .badge-verified, .pill, .chip, .toast, .nav-more-menu, .dash-badge, .ib-btn {
  border-radius: var(--btn-radius);
}
.btn { padding-left: 32px; padding-right: 32px; }
.hero-search { overflow: hidden; }
.hero-search input { padding-left: 24px; }
.hero-search select { border-radius: 0; }
.nav-more-menu { border-radius: 18px; overflow: hidden; }
.store-btn { padding: 12px 26px; }
.partner-controls button, .heart-btn, .fab, .theme-toggle { border-radius: 50%; }
.dash-nav a, .dash-nav button { border-radius: 12px; }
.search-card .tabs a { border-radius: 999px 999px 0 0; }
.field-input, textarea.field-input { border-radius: 0; }       /* inputs keep the clean underline style */
.filter-bar .btn, .hero-search button { border-radius: var(--btn-radius); }
@media (max-width: 560px) { .hero-search { border-radius: 26px; } .hero-search button { border-radius: 0; } }

/* ============================================================
   Install banner (Android / iPhone / laptop)
   ============================================================ */
.install-banner {
  position: fixed; z-index: 170; left: 16px; right: 16px; bottom: calc(16px + var(--safe-bottom, 0px));
  max-width: 460px; margin-left: auto; margin-right: auto;
  background: rgba(var(--surface-rgb), .98); border: 1px solid var(--gold); border-radius: 22px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55); padding: 16px 18px; backdrop-filter: blur(10px);
  transform: translateY(140%); opacity: 0; transition: transform .45s var(--ease), opacity .3s;
}
.install-banner.show { transform: none; opacity: 1; }
.install-banner[hidden] { display: none; }
.ib-row { display: flex; align-items: center; gap: 14px; }
.ib-row > img { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; background: #000; }
.ib-text { flex: 1; min-width: 0; line-height: 1.35; }
.ib-text strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; }
.ib-text span { font-size: .8rem; opacity: .72; }
.ib-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ib-btn { background: var(--gold); color: var(--on-gold); border: none; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 11px 18px; white-space: nowrap; display: inline-block; }
.ib-btn:hover { background: var(--gold-bright); }
.ib-close { background: none; border: none; color: var(--ivory); opacity: .55; cursor: pointer; font-size: 1.5rem; line-height: 1; padding: 4px 8px; border-radius: 50%; }
.ib-close:hover { opacity: 1; }
.ib-steps { margin: 14px 0 2px; padding: 14px 4px 0 22px; border-top: 1px solid var(--line-soft); font-size: .84rem; line-height: 1.9; opacity: .9; }
.ib-steps svg, .ib-steps i { width: 15px; height: 15px; vertical-align: -3px; color: var(--gold); }
body.has-install-banner .fab-whatsapp { bottom: calc(190px + var(--safe-bottom, 0px)); }
body.has-install-banner .fab-top { bottom: calc(126px + var(--safe-bottom, 0px)); }
@media (min-width: 900px) { .install-banner { left: auto; right: 24px; margin: 0; } body.has-install-banner .fab-whatsapp, body.has-install-banner .fab-top { display: none; } }
@media (max-width: 420px) { .ib-row { flex-wrap: wrap; } .ib-actions { width: 100%; justify-content: flex-end; } }

/* Download page */
.platform-card { padding: 32px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.platform-card.is-you { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset, 0 14px 50px rgba(201,162,75,.12); }
.platform-card .you-badge { display: none; position: absolute; top: 18px; right: 18px; }
.platform-card.is-you .you-badge { display: inline-block; }
.platform-card h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.platform-card h3 svg, .platform-card h3 i { width: 24px; height: 24px; color: var(--gold); }
.platform-card .store-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.platform-card .note { font-size: .78rem; opacity: .55; margin: 0; }


/* ============================================================
   Rounded frames everywhere (cards, panels, tables, images, maps…)
   ============================================================ */
:root { --radius: 22px; --radius-md: 16px; --radius-sm: 12px; }

/* cards & panels: clip their contents (photos, top accent lines) to the curve */
.card, .form-panel, .step, .benefit, .stat, .logo-tile, .tray-item, .msg, .fs, .plan, .cta-tile, .audience,
.platform-card, .dash-card, .partner-type, .search-card, .filter-bar, .dash-side, .table-wrap,
.faq-item, .cmp-table, details.faq-item { border-radius: var(--radius); overflow: hidden; }
.step, .benefit, .stat, .logo-tile, .tray-item, .msg, .filter-bar, .table-wrap { border-radius: var(--radius-md); }
.tray-item { border-radius: var(--radius-sm); }
.search-card { border-radius: 26px; }
.form-panel { border-radius: 26px; }
.table-wrap { overflow-x: auto; }
.compare-tray { border-radius: var(--radius) var(--radius) 0 0; }
.faq-item { border-radius: 0; overflow: visible; }                      /* accordion rows stay as clean dividers */
details.faq-item { border-radius: 0; }

/* photos */
.rich-content img, #gallery-main, .gallery-thumb, .thumb-grid .th, .thumb-grid img, .phone-frame { border-radius: var(--radius-md); }
#gallery-main { overflow: hidden; }
.gallery-thumb { border-radius: 10px; }
[style*="aspect-ratio"] { border-radius: var(--radius-md); overflow: hidden; }
.card [style*="aspect-ratio"] { border-radius: 0; }                       /* inside a card the card's own curve clips the photo */
/* standalone photos get a soft curve (zero specificity, so any more specific rule or inline style wins) */
:where(img[style*="object-fit"]):not(.hero-media) { border-radius: var(--radius-md); }
/* …but photos that sit inside a clipped frame, or fill a banner edge-to-edge, stay square */
.card img, .hero-slide img, .on-dark img, #gallery-main img, .thumb-grid img, .partners-hero img { border-radius: 0; }
.dash-avatar { border-radius: 50%; }

/* inline-styled frames (templates build many one-off boxes with borders / surface backgrounds) */
[style*="border:1px solid var(--line"]:not(input):not(select):not(textarea):not(button):not(a.btn):not([style*="border-radius"]),
[style*="border:1px solid var(--gold)"]:not(input):not(select):not(textarea):not(button):not(a.btn):not([style*="border-radius"]),
[style*="background:var(--surface"]:not(section):not(footer):not(nav):not(body):not(input):not(select):not(textarea):not(.container):not([style*="border-radius"]):not(.navbar) {
  border-radius: var(--radius-md);
}

/* large editorial banners keep their edge-to-edge look; only framed content rounds */
section, footer, .navbar, .hero-slide, .partners-hero, .cta-banner, .app-band { border-radius: 0; }
.hero-media, .hero-pane, .hero-overlay { border-radius: 0; }

/* inputs stay on the clean underline style; text areas get a soft frame */
textarea.field-input { border-radius: 14px; }
select.field-input { border-radius: 0; }

/* ---- Hero search: one clean pill, button nested inside with even spacing ---- */
.hero-search {
  display: flex; align-items: center; flex-wrap: nowrap; gap: 0; padding: 6px;
  border-radius: 999px; overflow: visible; max-width: 580px;
}
.hero-search input, .hero-search select { min-height: 48px; padding-top: 0; padding-bottom: 0; background: transparent; }
.hero-search input { flex: 1 1 auto; min-width: 0; padding-left: 20px; }
.hero-search select {
  flex: 0 0 auto; width: 128px; margin-right: 10px; padding-left: 16px; border-radius: 0;
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23c9a24b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  padding-right: 34px;
}
.hero-search button { flex: 0 0 auto; min-height: 48px; padding: 0 28px; border-radius: 999px; }
@media (max-width: 560px) {
  .hero-search { flex-wrap: wrap; border-radius: 28px; padding: 8px; }
  .hero-search input { flex: 1 1 100%; padding: 0 16px; }
  .hero-search select { flex: 1 1 100%; width: 100%; margin: 0; border-left: none; border-top: 1px solid var(--line-soft); }
  .hero-search button { flex: 1 1 100%; margin-top: 8px; }
}

/* Founder section */
.founder-photo { position: relative; }
.founder-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; display: block; }
.founder-photo::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--line); border-radius: 28px; z-index: -1; }
.founder-initial { aspect-ratio: 4/5; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 6rem; color: var(--gold); }
.founder-quote { margin: 22px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--gold); font-family: var(--font-display); font-style: italic; font-size: 1.3rem; line-height: 1.5; max-width: 560px; }
.founder-stats { display: flex; gap: 38px; flex-wrap: wrap; margin-top: 26px; }
.founder-stats .font-display { font-size: 2rem; line-height: 1.1; }
.founder-stats span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.social-dot { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; color: var(--gold); transition: all .3s var(--ease); }
.social-dot:hover { background: var(--gold); color: var(--on-gold); }
.social-dot svg, .social-dot i { width: 18px; height: 18px; }
@media (max-width: 980px) { .founder-photo::after { display: none; } .founder-photo { max-width: 420px; } }

/* ============================================================
   Founder page
   ============================================================ */
.fh { position: relative; overflow: hidden; padding: 150px 0 110px; background: var(--black); }
.fh-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: blur(2px) saturate(.8); border-radius: 0 !important; }
.fh-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 82% 20%, rgba(201,162,75,.20), transparent 55%), radial-gradient(ellipse at 5% 100%, rgba(201,162,75,.08), transparent 50%), linear-gradient(180deg, rgba(var(--black-rgb), .4), var(--black)); }
.fh-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.fh-name { font-size: clamp(3rem, 7vw, 5.6rem); line-height: 1; margin: 18px 0 14px; letter-spacing: -.01em; }
.fh-title { font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--gold); }
.fh-tag { font-family: var(--font-display); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.55rem); line-height: 1.5; max-width: 560px; margin: 24px 0 30px; padding-left: 20px; border-left: 2px solid var(--gold); opacity: .92; }
.fh-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.fh-social { display: flex; gap: 10px; margin-top: 26px; }
.fh-portrait { position: relative; max-width: 440px; margin-left: auto; width: 100%; }
.fh-frame { position: relative; border-radius: 36px; }
.fh-frame::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--line); border-radius: 36px; }
.fh-frame img, .fh-frame .founder-initial { position: relative; width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 36px; display: block; box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.fh-chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 999px; background: rgba(var(--surface-rgb), .92); border: 1px solid var(--line); backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0,0,0,.45); animation: float 6s ease-in-out infinite; }
.fh-chip svg, .fh-chip i { width: 22px; height: 22px; color: var(--gold); }
.fh-chip small { opacity: .6; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.fh-chip span { font-size: .84rem; line-height: 1.3; }
.fh-chip strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--gold); line-height: 1; }
.fh-chip-a { top: 28px; left: -34px; }
.fh-chip-b { bottom: 34px; right: -26px; animation-delay: -3s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.fh-scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--gold); animation: bob 2.2s ease-in-out infinite; }
.fh-scroll svg, .fh-scroll i { width: 18px; height: 18px; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

.fnav { position: sticky; top: 0; z-index: 90; background: rgba(var(--black-rgb), .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); }
.fnav-in { display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.fnav-in::-webkit-scrollbar { display: none; }
.fnav a { padding: 9px 18px; border-radius: 999px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; white-space: nowrap; opacity: .65; transition: all .25s var(--ease); }
.fnav a:hover, .fnav a.on { opacity: 1; background: rgba(201,162,75,.14); color: var(--gold); }
.fnav-share { margin-left: auto; flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: none; border: 1px solid var(--line-soft); color: var(--gold); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.fnav-share svg, .fnav-share i { width: 17px; height: 17px; }

.fstats { background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.fstats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; padding-top: 54px; padding-bottom: 54px; text-align: center; }
.fstat .v { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--gold); line-height: 1; }
.fstat .l { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .62; margin-top: 10px; }

.story-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 72px; align-items: start; }
.story-side { position: sticky; top: 110px; }
.story-side h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 14px 0 18px; line-height: 1.2; }
.story-rule { width: 70px; height: 2px; background: var(--gold); margin-bottom: 18px; }
.story-note { opacity: .6; font-size: .92rem; line-height: 1.7; margin: 0; }
.story-body .dropcap p { font-size: 1.12rem; line-height: 2; opacity: .85; margin: 0 0 22px; }
.story-body .dropcap p:first-child { font-size: 1.3rem; opacity: .95; }
.story-body .dropcap p:first-child::first-letter { float: left; font-family: var(--font-display); font-size: 5rem; line-height: .8; padding: 8px 14px 0 0; color: var(--gold); }
.signature { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-family: var(--font-display); font-style: italic; font-size: 1.9rem; color: var(--gold); }
.signature span { display: block; font-family: var(--font-body); font-style: normal; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ivory); opacity: .55; margin-top: 4px; }

.fhead { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.fhead h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 14px; }
.fhead-row { max-width: none; text-align: left; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }

.tl-section { background: var(--surface); border-top: 1px solid var(--line-soft); }
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--line), var(--gold), var(--line)); transform: translateX(-50%); }
.tl-item { position: relative; width: 50%; padding: 0 44px 40px 0; }
.tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 40px 44px; }
.tl-dot { position: absolute; top: 22px; right: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(201,162,75,.18); }
.tl-item:nth-child(even) .tl-dot { right: auto; left: -7px; }
.tl-card { background: var(--black); border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 22px 26px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.tl-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.tl-year { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.tl-card h3 { font-size: 1.35rem; margin-bottom: 6px; } .tl-card p { font-size: .9rem; opacity: .7; margin: 0; line-height: 1.7; }

.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.principle { padding: 32px 28px; border: 1px solid var(--line-soft); background: var(--surface); border-radius: var(--radius); transition: all .35s var(--ease); }
.principle:hover { border-color: var(--gold); transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.principle h3 { font-size: 1.35rem; margin: 20px 0 8px; } .principle p { margin: 0; font-size: .9rem; opacity: .7; line-height: 1.7; }
.post-card:hover { transform: translateY(-4px); }
.voice { padding: 28px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.voice .stars { color: var(--gold); letter-spacing: 3px; } .voice blockquote { margin: 0; font-style: italic; opacity: .88; line-height: 1.8; }
.voice figcaption strong { display: block; font-size: .92rem; } .voice figcaption span { font-size: .78rem; opacity: .55; }

.contact-hub { border-top: 1px solid var(--line-soft); background: radial-gradient(ellipse at 15% 0%, rgba(201,162,75,.10), transparent 55%), var(--surface); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.methods { display: flex; flex-direction: column; gap: 12px; }
.method { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 22px; background: rgba(var(--black-rgb), .5); transition: border-color .3s var(--ease), transform .3s var(--ease); }
.method:hover { border-color: var(--gold); transform: translateX(4px); }
.method .partner-icon { width: 48px; height: 48px; flex-shrink: 0; } .method .partner-icon svg, .method .partner-icon i { width: 21px; height: 21px; }
.method > div { flex: 1; min-width: 0; } .method small { display: block; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); opacity: .85; margin-bottom: 2px; }
.method a { font-size: .98rem; word-break: break-word; } .method a:hover { color: var(--gold); }
.copy-btn { width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-soft); background: none; color: var(--gold); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: all .25s var(--ease); }
.copy-btn:hover { background: var(--gold); color: var(--on-gold); } .copy-btn.ok { background: #6fcf97; color: #0a0908; border-color: #6fcf97; }
.copy-btn svg, .copy-btn i { width: 16px; height: 16px; }
.founder-form { background: var(--black); padding: 36px 34px; }
.ff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .ff-wide { grid-column: 1 / -1; }
.founder-form .field-input { border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 16px; background: rgba(var(--ivory-rgb), .03); transition: border-color .25s, box-shadow .25s, background .25s; }
.founder-form .field-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18); background: rgba(201,162,75,.04); outline: none; }
.founder-form textarea.field-input { min-height: 140px; }

@media (max-width: 980px) {
  .fh { padding: 120px 0 90px; } .fh-grid { grid-template-columns: 1fr; gap: 48px; }
  .fh-portrait { margin: 0 auto; max-width: 340px; } .fh-chip-a { left: -10px; } .fh-chip-b { right: -8px; } .fh-frame::before { inset: 12px -10px -12px 10px; }
  .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 36px; } .story-side { position: static; }
  .timeline::before { left: 7px; } .tl-item, .tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 32px 36px; }
  .tl-dot, .tl-item:nth-child(even) .tl-dot { left: 0; right: auto; }
}
@media (max-width: 560px) { .ff-grid { grid-template-columns: 1fr; } .founder-form { padding: 26px 20px; } .fh-chip { padding: 9px 14px; } .fh-scroll { display: none; } }
@media (prefers-reduced-motion: reduce) { .fh-chip, .fh-scroll { animation: none; } }

/* Account avatar + dropdown */
.nav-account { position: relative; display: inline-flex; }
.nav-avatar { display: inline-flex; position: relative; }
.nav-avatar .dash-avatar { width: 40px; height: 40px; font-size: 1.15rem; line-height: 1; color: var(--on-gold); box-shadow: 0 0 0 2px rgba(var(--black-rgb), 1), 0 0 0 3px var(--gold); transition: transform .25s var(--ease); }
.nav-avatar:hover .dash-avatar { transform: scale(1.06); }
.nav-account::before { content: ''; position: absolute; left: -10px; right: -10px; top: 100%; height: 14px; }
.nav-account-menu { position: absolute; right: 0; top: 100%; margin-top: 12px; min-width: 230px; padding: 8px 0; background: rgba(var(--surface-rgb), .98); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 50px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .22s var(--ease); z-index: 120; }
.nav-account:hover .nav-account-menu, .nav-account:focus-within .nav-account-menu { opacity: 1; visibility: visible; transform: none; }
.nav-account-menu a, .nav-account-menu button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 20px; font-size: .84rem; background: none; border: none; color: var(--ivory); cursor: pointer; text-align: left; font-family: var(--font-body); opacity: .88; }
.nav-account-menu a:hover, .nav-account-menu button:hover { background: rgba(201,162,75,.08); color: var(--gold); opacity: 1; }
.nam-head { padding: 12px 20px 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 6px; } .nam-head strong { display: block; font-size: .92rem; } .nam-head span { font-size: .74rem; opacity: .55; word-break: break-all; }
@media (max-width: 1099px) { .nav-account-menu { display: none; } }


/* ============================================================
   Floating buttons — soft layered shadows + a gentle lift (Airbnb-style, kept subtle)
   ============================================================ */
:root {
  --float: 0 1px 2px rgba(0,0,0,.30), 0 5px 14px rgba(0,0,0,.32);
  --float-hover: 0 2px 4px rgba(0,0,0,.32), 0 12px 26px rgba(0,0,0,.42);
  --float-gold: inset 0 1px 0 rgba(255,255,255,.38), inset 0 -1px 0 rgba(0,0,0,.14), 0 1px 2px rgba(120,90,20,.45), 0 6px 16px rgba(201,162,75,.26);
  --float-gold-hover: inset 0 1px 0 rgba(255,255,255,.42), inset 0 -1px 0 rgba(0,0,0,.14), 0 2px 4px rgba(120,90,20,.45), 0 12px 26px rgba(201,162,75,.38);
  --edge: inset 0 1px 0 rgba(255,255,255,.07);
}
html[data-theme="light"] {
  --float: 0 1px 2px rgba(20,16,10,.10), 0 4px 12px rgba(20,16,10,.10);
  --float-hover: 0 2px 4px rgba(20,16,10,.12), 0 10px 24px rgba(20,16,10,.16);
  --float-gold: inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(0,0,0,.12), 0 1px 2px rgba(110,80,15,.40), 0 6px 14px rgba(143,111,31,.28);
  --float-gold-hover: inset 0 1px 0 rgba(255,255,255,.36), inset 0 -1px 0 rgba(0,0,0,.12), 0 2px 4px rgba(110,80,15,.40), 0 10px 22px rgba(143,111,31,.36);
  --edge: inset 0 1px 0 rgba(255,255,255,.6);
}

/* gold (primary) buttons: a faint top-to-bottom sheen so they read as raised */
.btn-primary, .btn-app, .ib-btn, .hero-search button, .fab-whatsapp {
  background-image: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 55%, rgba(0,0,0,.06));
  box-shadow: var(--float-gold);
}
/* outline / secondary buttons and round controls: lifted off the page with a soft shadow */
.btn-outline, .store-btn, .chip-lg, .cmp-btn, .heart-btn, .theme-toggle, .social-dot, .copy-btn, .fnav-share,
.partner-controls button, .fab-top, .nav-more-menu, .nav-account-menu {
  box-shadow: var(--float), var(--edge);
}
.btn-outline { background-color: rgba(var(--ivory-rgb), .035); }
.store-btn { box-shadow: var(--float); }
.chip-lg.on, a.chip-lg:hover { box-shadow: var(--float-gold); }
.hero-search, .search-card {
  box-shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px rgba(0,0,0,.45), var(--edge);
}
.install-banner { box-shadow: 0 2px 6px rgba(0,0,0,.4), 0 22px 60px rgba(0,0,0,.55); }

/* lift on hover, press on click */
.btn, .btn-app, .store-btn, .ib-btn, .chip-lg, .cmp-btn, .heart-btn, .theme-toggle, .social-dot, .copy-btn, .fnav-share,
.hero-search button, .fab, .partner-controls button {
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover, .btn-app:hover, .store-btn:hover, .ib-btn:hover, .chip-lg:hover, .cmp-btn:hover, .heart-btn:hover, .theme-toggle:hover,
.social-dot:hover, .copy-btn:hover, .fnav-share:hover, .hero-search button:hover, .fab:hover { transform: translateY(-2px); }
.btn-outline:hover, .store-btn:hover, .cmp-btn:hover, .heart-btn:hover, .theme-toggle:hover, .social-dot:hover, .copy-btn:hover,
.fnav-share:hover, .fab-top:hover { box-shadow: var(--float-hover), var(--edge); }
.btn-primary:hover, .btn-app:hover, .ib-btn:hover, .hero-search button:hover, .fab-whatsapp:hover { box-shadow: var(--float-gold-hover); }
.btn:active, .btn-app:active, .store-btn:active, .ib-btn:active, .chip-lg:active, .cmp-btn:active, .heart-btn:active,
.theme-toggle:active, .social-dot:active, .copy-btn:active, .hero-search button:active, .fab:active { transform: translateY(0) scale(.98); box-shadow: var(--float); }
.btn-primary:active, .btn-app:active, .ib-btn:active, .hero-search button:active { box-shadow: inset 0 2px 4px rgba(0,0,0,.2), 0 1px 2px rgba(120,90,20,.4); }
.btn:focus-visible, .chip-lg:focus-visible { box-shadow: var(--float), 0 0 0 3px rgba(201,162,75,.45); }
.btn[disabled], button:disabled { transform: none; box-shadow: none; opacity: .55; cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn-app:hover, .store-btn:hover, .chip-lg:hover, .heart-btn:hover, .theme-toggle:hover, .fab:hover { transform: none; }
}


/* ============================================================
   Scroll motion
   ============================================================ */
.reveal { opacity: 0; transform: translate3d(0, 30px, 0) scale(.985); transition: opacity .9s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); will-change: opacity, transform; }
.reveal.reveal-left { transform: translate3d(-44px, 0, 0); }
.reveal.reveal-right { transform: translate3d(44px, 0, 0); }
.reveal.reveal-zoom { transform: scale(.93); }
.reveal.in-view { opacity: 1; transform: none; }

/* headlines rise word by word */
.split-words .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.split-words .w > span { display: inline-block; transform: translate3d(0, 110%, 0); opacity: 0; transition: transform .9s var(--ease) calc(var(--i, 0) * 70ms), opacity .7s var(--ease) calc(var(--i, 0) * 70ms); }
.split-words.words-in .w > span { transform: none; opacity: 1; }
html:not(.motion) .split-words .w > span { transform: none; opacity: 1; }

/* photos settle into place as their card enters */
.card.reveal img, .founder-photo.reveal img, .fh-portrait.reveal img { transform: scale(1.12); }
.card.reveal.in-view img, .founder-photo.reveal.in-view img, .fh-portrait.reveal.in-view img { transform: scale(1); transition: transform 1.6s var(--ease); }

/* top-of-page reading progress */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--gold), var(--gold-bright)); pointer-events: none; }

/* smart header: tucks away while you read down, back on scroll up */
.navbar { transition: background .3s var(--ease), padding .3s var(--ease), border-color .3s var(--ease), transform .45s var(--ease); }
.navbar.nav-hide { transform: translateY(-110%); }
.fnav { top: var(--nav-h, 70px); transition: top .45s var(--ease), background .3s; }

/* cursor spotlight on cards (fine pointers only) */
@media (hover: hover) and (pointer: fine) {
  .card, .principle, .step, .benefit, .tl-card, .method { position: relative; }
  .card::after, .principle::after, .step::after, .benefit::after, .tl-card::after, .method::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s var(--ease);
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(201,162,75,.13), transparent 62%);
  }
  .card:hover::after, .principle:hover::after, .step:hover::after, .benefit:hover::after, .tl-card:hover::after, .method:hover::after { opacity: 1; }
}

/* timeline spine fills with gold as you scroll */
.timeline::after { content: ''; position: absolute; left: 50%; top: 6px; width: 2px; height: calc((100% - 12px) * var(--tl-n, 0)); transform: translateX(-50%); background: var(--gold); box-shadow: 0 0 14px rgba(201,162,75,.6); }
.timeline { --tl-n: 0; }

/* little delights */
.heart-btn.on svg { animation: pop .42s var(--ease); }
@keyframes pop { 0% { transform: scale(.6); } 55% { transform: scale(1.35); } 100% { transform: scale(1); } }
.hero-text-block hr, .hero-text-block > div[style*="height:2px"] { transform-origin: left; }
.fh-glow { animation: aurora 16s ease-in-out infinite alternate; }
@keyframes aurora { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2%, 3%, 0) scale(1.08); } }

/* smooth cross-page transitions (Chrome/Edge/Safari 18+); other browsers simply navigate */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  .reveal, .split-words .w > span, .card.reveal img { transition: none !important; opacity: 1 !important; transform: none !important; }
  .fh-glow { animation: none; }
  @view-transition { navigation: none; }
  .scroll-progress { display: none; }
}
.fh-frame .founder-initial { display: flex; align-items: center; justify-content: center; }

/* the hero must clip its (parallax-shifted) photo so it can never spill onto the strip below */
.hero-slide, .hero-pane { overflow: hidden; }

/* ============================================================
   Brand cursor — the Montaire "M" mark, transparent background (desktop mice/trackpads only)
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  html:not(.is-native), html:not(.is-native) body {
    cursor: url('../img/cursor/cursor.png') 16 16, auto;
    cursor: image-set(url('../img/cursor/cursor.png') 1x, url('../img/cursor/cursor@2x.png') 2x) 16 16, auto;
  }
  html:not(.is-native) a[href], html:not(.is-native) button:not(:disabled), html:not(.is-native) [role="button"],
  html:not(.is-native) summary, html:not(.is-native) label[for], html:not(.is-native) select,
  html:not(.is-native) input[type="submit"], html:not(.is-native) input[type="button"], html:not(.is-native) input[type="checkbox"],
  html:not(.is-native) input[type="radio"], html:not(.is-native) input[type="file"], html:not(.is-native) [data-fav],
  html:not(.is-native) [data-compare], html:not(.is-native) [data-share], html:not(.is-native) [data-copy], html:not(.is-native) .chip-lg,
  html:not(.is-native) .hero-dot, html:not(.is-native) [onclick] {
    cursor: url('../img/cursor/cursor-hover.png') 16 16, pointer;
    cursor: image-set(url('../img/cursor/cursor-hover.png') 1x, url('../img/cursor/cursor-hover@2x.png') 2x) 16 16, pointer;
  }
  /* typing keeps the familiar text bar, disabled controls stay obvious */
  html:not(.is-native) input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]),
  html:not(.is-native) textarea { cursor: text; }
  html:not(.is-native) :disabled { cursor: not-allowed; }
}

/* Hero logo: same size as always, now gently floating with a soft shadow beneath */
.hero-logo {
  animation: logo-float 6.5s ease-in-out 1.3s infinite;        /* starts once the entrance reveal has finished */
  filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .55)) drop-shadow(0 0 22px rgba(201, 162, 75, .10));
  will-change: transform;
}
@keyframes logo-float { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -12px, 0); } }
@media (prefers-reduced-motion: reduce) { .hero-logo { animation: none; } }
