/* ==========================================================================
   Linly Massage — Modern Luxury Wellness Spa
   Brand: #AC7F00 (gold) / #FFFFFF (white) · Font: Kanit
   ========================================================================== */

:root {
  --gold: #AC7F00;
  --gold-light: #D4AF4C;
  --gold-soft: #E9D7A6;
  --gold-pale: #F8F3E6;
  --white: #FFFFFF;
  --ink: #1B1712;
  --ink-2: #2A241C;
  --charcoal: #4A4744;
  --text: #3D372F;
  --muted: #7A7268;
  --line: #ECE5D6;
  --radius: 4px;
  --shadow: 0 20px 50px -20px rgba(27, 23, 18, .35);
  --shadow-sm: 0 8px 24px -12px rgba(27, 23, 18, .25);
  --container: 1180px;
  --header-h: 92px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* Mobile zoom lock: no double-tap zoom, no text auto-resize */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; }

body {
  margin: 0;
  font-family: "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.3; margin: 0 0 .6em; color: var(--ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

/* ---------- Typography helpers ---------- */
.kicker {
  display: inline-block;
  font-size: .82rem;
  letter-spacing: .35em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: .02em; }
.section-title span { color: var(--gold); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { color: var(--muted); }
.section-head--tight { margin-bottom: 32px; }
.section-more { text-align: center; margin-top: 48px; }
.stats-gap { margin-top: 80px; }
.fit-contain { object-fit: contain !important; background: #fff; }
.faq-a a { color: var(--gold); }
.contact-list address { font-style: normal; }
.error-logo { margin: 0 auto 20px; }
.error-en { margin-top: -14px; }
.divider { width: 70px; height: 1px; background: var(--gold); margin: 18px auto 22px; position: relative; }
.divider::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px;
  background: var(--gold); transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 26px;
  font-size: .88rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #8F6A00; border-color: #8F6A00; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(172,127,0,.7); }
.btn-outline { background: transparent; color: var(--gold-soft); border-color: var(--gold-light); }
.btn-outline:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-outline-dark { background: transparent; color: var(--gold); }
.btn-outline-dark:hover { background: var(--gold); color: #fff; }
.btn-line { background: #06C755; border-color: #06C755; color: #fff; }
.btn-line:hover { background: #05a647; border-color: #05a647; transform: translateY(-2px); }
.btn-wa { background: #25D366; border-color: #25D366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; border-color: #1ebe5a; transform: translateY(-2px); }
/* Transparent gold-outline button (dark backgrounds): mobile menu + CTA bands */
.btn-ghost,
.cta-band .btn-line, .cta-band .btn-wa {
  background: rgba(172,127,0,.08); color: var(--gold-light); border-color: var(--gold-light);
  text-transform: none; letter-spacing: .08em;
}
.btn-ghost:hover, .btn-ghost:active,
.cta-band .btn-line:hover, .cta-band .btn-wa:hover {
  background: var(--gold); border-color: var(--gold); color: #fff; transform: translateY(-2px);
  box-shadow: 0 10px 24px -10px rgba(172,127,0,.7);
}
.link-arrow { color: var(--gold); letter-spacing: .25em; text-transform: uppercase; font-size: .85rem; display: inline-flex; align-items: center; gap: 10px; }
.link-arrow:hover { gap: 16px; color: var(--gold-light); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), height .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  --header-h: 74px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px -12px rgba(27,23,18,.2);
  border-bottom: 1px solid var(--line);
}
/* Scrolled (white) header: dark/gold text for contrast */
.is-scrolled .brand-name { color: var(--gold); }
.is-scrolled .brand-tag { color: var(--muted); }
.is-scrolled .lang-switch { color: rgba(27,23,18,.25); }
.is-scrolled .lang-switch a { color: var(--muted); }
.is-scrolled .lang-switch a:hover,
.is-scrolled .lang-switch a.is-active { color: var(--gold); border-bottom-color: var(--gold); }
.is-scrolled .header-book { color: var(--gold); border-color: var(--gold); background: transparent; }
.is-scrolled .header-book:hover { color: #fff; background: var(--gold); }
.is-scrolled .header-cta .header-book::before { background: var(--line); }
.is-scrolled .nav-toggle { border-color: var(--gold-soft); }
.is-scrolled .nav-toggle span,
.is-scrolled .nav-toggle span::before,
.is-scrolled .nav-toggle span::after { background: var(--gold); }
.nav-open .is-scrolled .nav-toggle span { background: transparent; }
@media (min-width: 961px) {
  .is-scrolled .main-nav a { color: var(--ink); }
  .is-scrolled .main-nav a:hover, .is-scrolled .main-nav a.active { color: var(--gold); }
  .is-scrolled .main-nav a::after { background: var(--gold); }
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 58px; height: 58px; transition: width .3s, height .3s; }
.is-scrolled .brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-size: 1.25rem; color: var(--gold-light); letter-spacing: .06em; font-weight: 400; }
.brand-tag { font-size: .68rem; color: rgba(255,255,255,.7); letter-spacing: .22em; text-transform: uppercase; }

.main-nav ul { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  color: var(--white); font-size: .95rem; font-weight: 400; letter-spacing: .04em;
  position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px;
  background: var(--gold-light); transition: width .3s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--gold-light); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; align-items: center; gap: 6px; font-size: .85rem; letter-spacing: .08em; color: rgba(255,255,255,.35); }
.lang-switch a { color: rgba(255,255,255,.7); padding: 4px 2px; border-bottom: 1px solid transparent; }
.lang-switch a:hover { color: var(--gold-light); }
.lang-switch a.is-active { color: var(--gold-light); border-bottom-color: var(--gold-light); }
/* Space + thin divider between language switcher and the header booking button */
.header-cta .header-book { margin-left: 14px; position: relative; }
.header-cta .header-book::before {
  content: ""; position: absolute; left: -16px; top: 50%; width: 1px; height: 22px;
  background: rgba(212,175,76,.35); transform: translateY(-50%);
}
.header-cta .btn { padding: 11px 22px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; background: transparent; border: 1px solid rgba(212,175,76,.5);
  border-radius: var(--radius); cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 20px; height: 1.5px; background: var(--gold-light);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -6px; }
.nav-toggle span::after { left: 0; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 680px;
  padding: calc(var(--header-h) + 60px) 0 200px;
  color: var(--white);
  text-align: center;
  background: var(--ink);
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background: url('/assets/images/hero-luxury-spa-phuket.webp') center / cover no-repeat;
  transform: scale(1.04);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@media (max-width: 768px) {
  .hero-bg { background-image: url('/assets/images/hero-luxury-spa-phuket-mobile.webp'); }
}
/* Inner pages have a short hero: show the towel/bed band of the photo */
.page-hero .hero-bg { background-position: center 62%; }
/* Photo is already low-key; a lighter veil keeps it visible while text stays readable */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(12,9,6,.55), transparent 65%),
    linear-gradient(180deg, rgba(20,16,11,.55) 0%, rgba(20,16,11,.25) 45%, rgba(20,16,11,.7) 100%);
}
@keyframes heroZoom { to { transform: scale(1.1); } }
.hero .kicker { color: rgba(255,255,255,.85); }
.hero-title {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: .03em;
  margin-bottom: 0;
  background: linear-gradient(180deg, #F1DCA0 0%, #D4AF4C 45%, #AC7F00 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-rule { max-width: 780px; height: 1px; margin: 34px auto 30px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.45), transparent); }
.hero-sub { font-size: clamp(1.05rem, 2.2vw, 1.45rem); color: var(--gold-soft); letter-spacing: .06em; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-top: 34px; font-size: .9rem; color: rgba(255,255,255,.8); }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--gold-light); }

/* Page hero (inner pages) */
.page-hero { min-height: 0; padding: calc(var(--header-h) + 70px) 0 72px; }
.page-hero .hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.breadcrumb { list-style: none; padding: 0; display: flex; justify-content: center; gap: 10px; font-size: .88rem; color: rgba(255,255,255,.7); margin-top: 18px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--gold-light); }

/* ==========================================================================
   Feature media (overlaps hero, like the reference video card)
   ========================================================================== */
.feature-media { position: relative; margin-top: -150px; z-index: 2; }
/* Black + gold blend card (matches .bg-gold section) */
.media-card {
  max-width: 560px; margin: 0 auto;
  border: 1px solid var(--gold-light);
  box-shadow: 0 30px 60px -25px rgba(20,16,11,.7);
  background:
    radial-gradient(ellipse at 90% 110%, rgba(172,127,0,.55), transparent 55%),
    radial-gradient(ellipse at 0% 0%, rgba(212,175,76,.18), transparent 45%),
    linear-gradient(135deg, #14110D 0%, #1F1810 50%, #3A2A0A 100%);
}
.media-text {
  display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 44px 40px; color: rgba(255,255,255,.8); font-size: .95rem; position: relative;
}
.media-text::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(212,175,76,.4); pointer-events: none; }
.media-text .kicker { font-size: .7rem; margin-bottom: 8px; color: var(--gold-light); }
.media-text .link-arrow { color: var(--gold-light); }
.media-title { font-size: 1.35rem; line-height: 1.35; color: var(--gold-soft); font-weight: 400; letter-spacing: .04em; margin-bottom: 10px; }
.media-text .link-arrow { font-size: .78rem; margin-top: 4px; }

/* ---------- Info bar ---------- */
.info-bar { padding: 46px 0 30px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }
.info-item { display: flex; gap: 16px; align-items: center; justify-content: center; padding: 6px 24px; }
.info-item + .info-item { border-left: 1px solid var(--line); }
.info-item > div { min-width: 0; }
.info-icon {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-soft); color: var(--gold); display: grid; place-items: center;
}
.info-icon svg { width: 24px; height: 24px; }
.info-item h3 { font-size: 1rem; margin: 0; letter-spacing: .08em; font-weight: 500; }
.info-item p, .info-item a { margin: 0; font-size: .9rem; color: var(--muted); }
.info-item a:hover { color: var(--gold); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 84px 0; }
.section-sm { padding: 70px 0; }
.section--flush-bottom { padding-bottom: 0; }
.section--tight-top { padding-top: 72px; }
.bg-pale { background: var(--gold-pale); }
.bg-dark { background: var(--ink); color: rgba(255,255,255,.82); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark .section-head p { color: rgba(255,255,255,.65); }
/* Brand gold section (white text) */
/* Black + gold blend (luxury dark-gold) */
.bg-gold {
  position: relative; color: rgba(255,255,255,.82);
  background:
    radial-gradient(ellipse at 85% 100%, rgba(172,127,0,.55), transparent 55%),
    radial-gradient(ellipse at 10% 0%, rgba(212,175,76,.22), transparent 45%),
    linear-gradient(135deg, #14110D 0%, #1F1810 45%, #3A2A0A 100%);
}
/* Animated magma canvas (WebGL) sits behind content; dark veil keeps text readable */
.bg-gold.has-magma { overflow: hidden; }
.magma-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.bg-gold.has-magma::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgba(12,10,7,.28); pointer-events: none; }
.bg-gold > .container { position: relative; z-index: 1; }
.bg-gold h2, .bg-gold h3 { color: #fff; }
.bg-gold .kicker { color: var(--gold-light); }
.bg-gold .section-title span { color: var(--gold-light); }
.bg-gold .divider, .bg-gold .divider::after { background: var(--gold-light); }
.bg-gold .feature-icon { border-color: rgba(212,175,76,.6); color: var(--gold-light); background: rgba(172,127,0,.08); }
.bg-gold .feature:hover .feature-icon { background: var(--gold); color: #fff; border-color: var(--gold); }
.bg-gold .feature p { color: rgba(255,255,255,.7); }
.bg-gold .stat strong { color: var(--gold-light); }
.bg-gold .stat span { color: rgba(255,255,255,.75); }
.bg-gold .stats { border-top: 1px solid rgba(212,175,76,.25); padding-top: 60px; }

/* Framed intro card (like reference grey card with inner gold border) */
.framed-card {
  max-width: 780px; margin: 0 auto; background: var(--charcoal); color: rgba(255,255,255,.88);
  padding: 14px; box-shadow: var(--shadow); text-align: center;
}
.framed-inner { border: 1px solid var(--gold-light); padding: 48px clamp(20px, 5vw, 56px) 40px; }
.framed-inner img { width: 110px; height: 110px; margin: 0 auto 6px; }
.framed-inner .brand-label { color: var(--gold-light); font-size: .9rem; letter-spacing: .1em; margin-bottom: 18px; }
.framed-inner h2 { color: var(--gold-light); font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 300; letter-spacing: .04em; }
.framed-inner p { font-size: .95rem; line-height: 1.9; }

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); padding: 36px 30px 30px;
  position: relative; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width .5s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { width: 100%; }
.service-icon { width: 58px; height: 58px; color: var(--gold); margin-bottom: 18px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.service-card .en { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 14px; }
.service-card p { color: var(--muted); font-size: .94rem; flex: 1; }
.service-price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 10px; }
.service-price small { color: var(--muted); font-size: .82rem; }
.service-price strong { color: var(--gold); font-weight: 500; font-size: 1.3rem; }

/* ---------- Curved 3D gallery (Signature Treatments) ---------- */
.curved-section {
  /* ends exactly on --gold-pale so it blends into the .bg-pale services section below */
  background: linear-gradient(180deg, #FFFFFF 0%, #FBF7EE 40%, var(--gold-pale) 100%);
  color: var(--text); padding: 64px 0 40px; overflow: hidden; position: relative; /* follows the white info bar, flows into .bg-pale */
}
.curved-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 55%, rgba(172,127,0,.10), transparent 55%);
}
.curved-section .section-head { margin-bottom: 30px; position: relative; }
.curved-section .section-head p { color: var(--muted); }
.curved {
  --card-w: 220px; --card-h: 340px;
  position: relative; height: calc(var(--card-h) * 1.4); perspective: 1100px;
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; outline: none;
}
.curved.is-dragging { cursor: grabbing; }
.curved-stage { position: absolute; inset: 0; transform-style: preserve-3d; }
.curved-card {
  position: absolute; left: 50%; top: 50%; width: var(--card-w); height: var(--card-h);
  margin: calc(var(--card-h) / -2) 0 0 calc(var(--card-w) / -2);
  border-radius: 18px; overflow: hidden; color: #fff; backface-visibility: hidden;
  box-shadow: 0 28px 50px -24px rgba(90,60,10,.45), inset 0 0 0 1px rgba(255,255,255,.15);
  will-change: transform, opacity; -webkit-user-drag: none;
}
/* Photo fills the card; gradient class stays underneath as a loading fallback */
.curved-card .cc-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
  pointer-events: none; -webkit-user-drag: none; user-select: none;
}
/* Soft top sheen + dark bottom fade so the white title stays readable on any photo */
.curved-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 60% at 30% 0%, rgba(255,255,255,.14), transparent 55%),
    linear-gradient(180deg, rgba(20,14,8,0) 45%, rgba(20,14,8,.55) 72%, rgba(20,14,8,.88) 100%);
}
.curved-card .cc-body { position: absolute; left: 16px; right: 14px; bottom: 18px; z-index: 2; }
.curved-card .cc-title { display: block; font-size: clamp(.92rem, 1.2vw, 1.1rem); font-weight: 500; line-height: 1.3; text-shadow: 0 2px 12px rgba(0,0,0,.35); }
.curved-card .cc-meta { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: clamp(.64rem, .9vw, .78rem); letter-spacing: .08em; color: rgba(255,255,255,.75); margin-top: 4px; }
.curved-card:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
.curved-hint { text-align: center; font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 10px; position: relative; }
.g-gold    { background: linear-gradient(180deg, #D8BC8A 0%, #A9824E 45%, #5E3F1F 100%); }
.g-violet  { background: linear-gradient(180deg, #A898E0 0%, #5B44C2 45%, #23165A 100%); }
.g-aloe    { background: linear-gradient(180deg, #B7E3D2 0%, #6FB49F 45%, #1D3F3B 100%); }
.g-ember   { background: linear-gradient(180deg, #F2BFA8 0%, #DB6A45 45%, #6A2220 100%); }
.g-granite { background: linear-gradient(180deg, #D3D4DC 0%, #8E92A0 45%, #3A3F4C 100%); }
.g-amber   { background: linear-gradient(180deg, #E9D08A 0%, #C9982F 45%, #5A3A10 100%); }
.g-north   { background: linear-gradient(180deg, #B9CBE3 0%, #7F9DCB 45%, #34518A 100%); }
.g-sienna  { background: linear-gradient(180deg, #E6B48E 0%, #A9623C 45%, #4A2016 100%); }
.g-rose    { background: linear-gradient(180deg, #F2D5C8 0%, #C98B78 45%, #5C2F2A 100%); }
.g-sand    { background: linear-gradient(180deg, #EFE2C4 0%, #C7A774 45%, #6B5230 100%); }

/* Split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; width: 100%; max-width: 420px; justify-self: center; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.split-media::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold); z-index: -1;
}
.split-media .badge-float {
  position: absolute; right: -20px; bottom: 40px; background: var(--gold); color: #fff; padding: 22px 26px; text-align: center; box-shadow: var(--shadow);
}
.badge-float strong { display: block; font-size: 2.2rem; font-weight: 400; line-height: 1; }
.badge-float span { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
.check-list li { position: relative; padding-left: 34px; margin-bottom: 14px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23AC7F00' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--gold-soft);
}

/* Features */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.feature { text-align: center; padding: 10px; }
.feature-icon {
  width: 76px; height: 76px; margin: 0 auto 18px; border: 1px solid var(--gold-light); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-light); transition: all .4s var(--ease);
}
.feature:hover .feature-icon { background: var(--gold); color: #fff; border-color: var(--gold); transform: rotate(8deg); }
.feature-icon svg { width: 32px; height: 32px; }
.feature h3 { font-size: 1.1rem; }
.feature p { font-size: .92rem; color: rgba(255,255,255,.65); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 10px; }
.step-num {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--white);
  border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: 1.4rem; position: relative; z-index: 1;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 32px; left: calc(50% + 40px); right: calc(-50% + 40px); border-top: 1px dashed var(--gold-soft);
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: .92rem; color: var(--muted); }

/* Price table */
.price-wrap { overflow-x: auto; box-shadow: var(--shadow-sm); border: 1px solid var(--line); background: #fff; }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table caption { caption-side: bottom; padding: 14px; font-size: .85rem; color: var(--muted); text-align: left; }
.price-table th, .price-table td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--ink); color: var(--gold-soft); font-weight: 400; letter-spacing: .06em; font-size: .92rem; }
.price-table thead th:first-child { text-align: left; }
.price-table tbody th { text-align: left; font-weight: 400; color: var(--ink); }
.price-table tbody th small { display: block; color: var(--muted); font-size: .78rem; }
.price-table tbody tr:hover { background: var(--gold-pale); }
.price-table tbody td { color: var(--text); font-variant-numeric: tabular-nums; }
.price-table tr.group-start th, .price-table tr.group-start td { border-top: 2px solid var(--gold-soft); }

/* Tabs filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn {
  border: 1px solid var(--line); background: #fff; padding: 9px 20px; border-radius: 40px; cursor: pointer;
  font-size: .9rem; color: var(--text); transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.filter-btn.is-active { background: var(--gold); border-color: var(--gold); color: #fff; }
.service-card.is-hidden { display: none; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
/* ---------- Rating summary (average + star distribution) ---------- */
.rating-summary { max-width: 440px; margin: 0 auto 64px; text-align: center; }
.rs-score { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.rs-avg { display: block; font-size: 3.4rem; font-weight: 500; color: var(--ink); line-height: 1; margin-bottom: 12px; }
.rs-stars { position: relative; display: inline-block; font-size: 1.6rem; line-height: 1; letter-spacing: 4px; color: var(--line); }
.rs-stars::before { content: "★★★★★"; }
.rs-stars-fill { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.rs-stars-fill::before { content: "★★★★★"; }
.rs-total { margin: 12px 0 0; color: var(--muted); font-size: .95rem; }
.rs-bars { display: grid; gap: 12px; }
.rs-bars li { display: grid; grid-template-columns: 18px 1fr 44px; align-items: center; gap: 14px; font-size: .95rem; color: var(--muted); }
.rs-label { text-align: left; }
.rs-num { text-align: right; font-variant-numeric: tabular-nums; }
.rs-track { height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; }
.rs-fill {
  display: block; height: 100%; width: 0; border-radius: 10px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  transition: width 1.2s var(--ease);
}
.rating-summary.is-visible .rs-fill, html:not(.js) .rs-fill { width: var(--w); }
.rs-bars li:nth-child(2) .rs-fill { transition-delay: .08s; }
.rs-bars li:nth-child(3) .rs-fill { transition-delay: .16s; }
.rs-bars li:nth-child(4) .rs-fill { transition-delay: .24s; }
.rs-bars li:nth-child(5) .rs-fill { transition-delay: .32s; }

/* Centered review card: avatar → name → role → stars → text */
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 46px 32px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s;
}
.review-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); border-color: var(--gold-soft); }
.review-avatar {
  width: 100px; height: 100px; border-radius: 50%; overflow: hidden; flex-shrink: 0; margin-bottom: 18px;
  border: 1px solid var(--line);
  /* Empty placeholder until a customer photo is added */
  background: var(--gold-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='40' r='17' fill='%23E9D7A6'/%3E%3Cpath d='M18 92c4-19 17-29 32-29s28 10 32 29' fill='%23E9D7A6'/%3E%3C/svg%3E") center / cover no-repeat;
}
.review-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-name { font-size: 1.2rem; font-weight: 500; color: var(--ink); margin: 0 0 2px; }
.review-role { font-size: .92rem; color: var(--muted); margin: 0 0 12px; }
.stars { color: var(--gold); letter-spacing: 4px; margin-bottom: 14px; font-size: 1.25rem; line-height: 1; }
.review-text { font-size: .98rem; color: var(--muted); line-height: 1.8; margin: 0; max-width: 300px; }

/* Slider (home reviews) */
.slider { position: relative; overflow: hidden; padding: 10px 0 24px; } /* room for card hover lift + shadow */
.slider-track { display: flex; transition: transform .7s var(--ease); }
.slider-track > * { flex: 0 0 calc((100% - 56px) / 3); margin-right: 28px; }
.slider-nav { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.slider-nav button {
  width: 46px; height: 46px; border: 1px solid var(--gold); background: transparent; color: var(--gold); border-radius: 50%; cursor: pointer; transition: all .3s;
  display: grid; place-items: center;
}
.slider-nav button:hover { background: var(--gold); color: #fff; }
.slider-nav svg { width: 18px; height: 18px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat strong { display: block; font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; color: var(--gold-light); line-height: 1.1; }
.stat span { font-size: .9rem; letter-spacing: .1em; color: rgba(255,255,255,.7); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item { position: relative; overflow: hidden; cursor: zoom-in; background: var(--ink); aspect-ratio: 4/5; border: 0; padding: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.gallery-item:hover img { transform: scale(1.07); opacity: .85; }
.gallery-item figcaption, .gallery-item .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; color: #fff; font-size: .92rem; text-align: left;
  background: linear-gradient(transparent, rgba(20,16,11,.85));
}
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(12,10,8,.94); display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 88vh; width: auto; box-shadow: var(--shadow); border: 1px solid var(--gold); }
.lightbox-close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; background: transparent; border: 1px solid var(--gold-light);
  color: var(--gold-light); font-size: 1.6rem; border-radius: 50%; cursor: pointer; line-height: 1;
}

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; padding: 22px 44px 22px 0; cursor: pointer; position: relative;
  font-size: 1.05rem; color: var(--ink); font-weight: 400;
}
.faq-q::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 1.6rem; font-weight: 200; transition: transform .3s;
}
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { padding-bottom: 22px; color: var(--muted); margin: 0; }

/* CTA band */
.cta-band {
  position: relative; text-align: center; padding: 84px 0; color: #fff; background: var(--ink); isolation: isolate; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(172,127,0,.35), transparent 50%), radial-gradient(circle at 80% 90%, rgba(172,127,0,.25), transparent 50%);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 300; }
.cta-band h2 span { color: var(--gold-light); }
.cta-band p { color: rgba(255,255,255,.75); max-width: 620px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: stretch; }
.contact-card { display: flex; flex-direction: column; justify-content: center; }
.contact-card { background: var(--ink); color: rgba(255,255,255,.85); padding: 44px 38px; position: relative; }
.contact-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(212,175,76,.45); pointer-events: none; }
.contact-card h2 { color: var(--gold-light); font-size: 1.6rem; font-weight: 300; }
.contact-list li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .info-icon { width: 44px; height: 44px; background: rgba(172,127,0,.18); color: var(--gold-light); }
.contact-list .info-icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: #fff; font-weight: 400; }
.contact-list a:hover { color: var(--gold-light); }
.qr-box { display: flex; gap: 18px; align-items: center; margin-top: 22px; background: rgba(255,255,255,.05); padding: 16px; position: relative; }
.qr-box img { width: 110px; height: 110px; background: #fff; padding: 4px; }
.qr-box p { margin: 0; font-size: .9rem; }

.form-card { background: #fff; border: 1px solid var(--line); padding: 44px 38px; box-shadow: var(--shadow-sm); }
.form-card h2 { font-size: 1.6rem; font-weight: 300; }
.qr-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.qr-card .form-actions { justify-content: center; }
.qr-lead { color: var(--muted); font-size: .95rem; max-width: 400px; }
.qr-frame {
  display: block; padding: 14px; margin: 8px auto 18px; background: #fff; border: 1px solid var(--gold-soft);
  box-shadow: var(--shadow-sm); position: relative; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.qr-frame::before { content: ""; position: absolute; inset: -8px; border: 1px solid var(--gold); pointer-events: none; }
.qr-frame:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.qr-frame img { width: 260px; height: 260px; }
.qr-hint { font-size: .85rem; color: var(--muted); margin-bottom: 0; }
@media (max-width: 680px) { .qr-frame img { width: 220px; height: 220px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: .88rem; color: var(--ink); font-weight: 400; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 16px; /* >=16px stops iOS auto-zoom on focus */ font-weight: 300; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: var(--radius); background: #FDFBF7; color: var(--text); transition: border-color .25s, box-shadow .25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(172,127,0,.12); }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }

.map-wrap { margin-top: 0; border-top: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.25) contrast(1.05); }

/* Areas */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-list li { border: 1px solid var(--gold-soft); padding: 8px 18px; border-radius: 40px; font-size: .92rem; background: #fff; }

/* Legal / prose */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; color: var(--ink); }
.prose ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.prose a { color: var(--gold); text-decoration: underline; }

/* Error pages */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 140px 20px 80px; background: var(--ink); color: #fff; position: relative; isolation: isolate; }
.error-page::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 30%, rgba(172,127,0,.25), transparent 60%); }
.error-code { font-size: clamp(6rem, 18vw, 11rem); font-weight: 200; line-height: 1; margin: 0;
  background: linear-gradient(180deg, #F1DCA0, #AC7F00); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.error-page h1 { color: var(--gold-soft); font-weight: 300; font-size: clamp(1.4rem, 3vw, 2rem); }
.error-page p { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 28px; }

/* ---------- 404 page (magma background via .bg-gold[data-magma]) ---------- */
.error-404 {
  min-height: 100vh; display: flex; align-items: center; text-align: center;
  padding: calc(var(--header-h) + 50px) 0 80px;
}
.error-404 .container { max-width: 960px; }
.e404-icon { width: 58px; height: 58px; color: var(--gold-light); margin: 0 auto 4px; display: block; }
.e404-code {
  margin: 0; font-size: clamp(7rem, 22vw, 13rem); font-weight: 200; line-height: .95; letter-spacing: -.02em;
  background: linear-gradient(180deg, #FFF3CF 0%, #E3C26A 45%, #AC7F00 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.35));
}
.error-404 h1 { color: #fff; font-weight: 300; font-size: clamp(1.4rem, 3vw, 2rem); margin: 6px 0 4px; }
.e404-en { color: var(--gold-soft); margin: 0 0 16px; font-size: .98rem; }
.e404-path {
  display: inline-flex; gap: 6px; align-items: center; max-width: 100%;
  font-size: .85rem; padding: 6px 16px; border-radius: 40px; margin: 0 0 18px;
  border: 1px solid rgba(212,175,76,.35); background: rgba(0,0,0,.28); color: rgba(255,255,255,.7);
}
.e404-path code { font-family: inherit; color: var(--gold-light); word-break: break-all; }
.e404-text { color: rgba(255,255,255,.75); max-width: 520px; margin: 0 auto 28px; }
.e404-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 46px auto 0; max-width: 860px; }
.e404-links a {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 24px 14px 20px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(212,175,76,.3); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s, border-color .3s;
}
.e404-links a:hover { transform: translateY(-4px); background: rgba(172,127,0,.2); border-color: var(--gold-light); color: #fff; }
.e404-links svg { width: 28px; height: 28px; color: var(--gold-light); margin-bottom: 6px; }
.e404-links strong { font-weight: 400; font-size: 1rem; }
.e404-links small { color: rgba(255,255,255,.6); font-size: .8rem; }
@media (max-width: 680px) {
  .e404-links { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #FFFFFF; color: var(--muted); font-size: .93rem; border-top: 1px solid var(--line); }
.footer-top { padding: 80px 20px 30px; display: grid; grid-template-columns: 1.7fr 1fr 1.15fr 1fr; gap: 48px; }
.footer-logo { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo-mark {
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.footer-logo-mark img { width: 38px; height: 38px; }
.footer-logo-text { font-size: 1.3rem; font-weight: 500; color: var(--ink); letter-spacing: .01em; }
.footer-logo-text span { color: var(--gold); font-weight: 400; }
.footer-brand p { max-width: 360px; line-height: 1.8; }
.site-footer h3 { color: var(--muted); font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; margin: 6px 0 24px; font-weight: 400; }
/* Font size is fitted to the container width by JS (fitWatermark); CSS value is the no-JS fallback */
.footer-watermark {
  overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none;
  line-height: 1.05; margin-top: 10px; padding-bottom: 10px;
}
.footer-watermark .container {
  text-align: center;
  font-size: min(10.5vw, 9.5rem); font-weight: 600; letter-spacing: -.03em; white-space: nowrap;
  background: linear-gradient(180deg, rgba(172,127,0,.15) 0%, rgba(172,127,0,.03) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.footer-brand p { color: var(--text); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text); transition: all .25s var(--ease); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; color: var(--text); }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.footer-contact a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold-soft); display: grid; place-items: center; color: var(--gold); transition: all .3s;
}
.socials a:hover { background: var(--gold); color: #fff; border-color: var(--gold); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--line); background: var(--gold-pale); padding: 22px 0; font-size: .85rem; color: var(--muted); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold); }

/* Floating contact */
/* Floating contact: black + gold toggle that pops up the channels */
.float-contact { position: fixed; right: 18px; bottom: 18px; z-index: 90; }
.fc-toggle {
  position: relative; width: 58px; height: 58px; border-radius: 50%; cursor: pointer;
  background: #fff; border: 1.5px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(27,23,18,.45);
  transition: transform .3s var(--ease), background .3s, color .3s;
}
.fc-toggle:hover { transform: scale(1.06); }
.fc-toggle::after { /* soft gold pulse ring to draw attention */
  content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid var(--gold);
  animation: fcPulse 2.6s ease-out infinite; pointer-events: none;
}
@keyframes fcPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.55); opacity: 0; } }
.fc-toggle span { position: absolute; display: grid; place-items: center; transition: transform .35s var(--ease), opacity .25s; }
.fc-toggle svg { width: 26px; height: 26px; }
.fc-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.float-contact.is-open .fc-toggle { background: var(--gold); color: #14110D; border-color: var(--gold); }
.float-contact.is-open .fc-toggle::after { animation: none; opacity: 0; }
.float-contact.is-open .fc-open { opacity: 0; transform: rotate(90deg) scale(.6); }
.float-contact.is-open .fc-close { opacity: 1; transform: none; }

.fc-menu { position: absolute; right: 4px; bottom: 72px; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fc-menu li {
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .35s;
}
.float-contact.is-open .fc-menu li { opacity: 1; visibility: visible; transform: none; }
.float-contact.is-open .fc-menu li:nth-last-child(1) { transition-delay: 0s; }
.float-contact.is-open .fc-menu li:nth-last-child(2) { transition-delay: .06s; }
.float-contact.is-open .fc-menu li:nth-last-child(3) { transition-delay: .12s; }
.fc-menu a { display: flex; align-items: center; gap: 10px; }
.fc-label {
  background: #fff; color: var(--ink); border: 1px solid var(--gold-soft);
  padding: 7px 14px; border-radius: 40px; font-size: .88rem; white-space: nowrap;
  box-shadow: 0 8px 20px -10px rgba(27,23,18,.35); transition: color .25s, border-color .25s;
}
.fc-icon {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1.5px solid var(--gold); color: var(--gold);
  box-shadow: 0 10px 24px -10px rgba(27,23,18,.4); transition: background .25s, color .25s, transform .25s;
}
.fc-icon svg { width: 24px; height: 24px; }
.fc-menu a:hover .fc-icon { background: var(--gold); color: #fff; transform: scale(1.06); }
/* LINE icon letters are a "cut-out" colour; flip it where the icon turns white on gold */
.fc-menu a:hover .fc-icon, .socials a:hover, .btn-ghost:hover, .btn-ghost:active { --icon-cut: var(--gold); }
.fc-menu a:hover .fc-label { color: var(--gold); border-color: var(--gold); }
.to-top {
  position: fixed; left: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1.5px solid var(--gold);
  color: var(--gold); cursor: pointer; display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all .3s;
  box-shadow: 0 10px 24px -10px rgba(27,23,18,.4);
}
.to-top:hover { background: var(--gold); color: #fff; }
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top svg { width: 18px; height: 18px; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 14px 22px;
  border-left: 3px solid var(--gold); box-shadow: var(--shadow); z-index: 400; opacity: 0; transition: all .4s var(--ease); max-width: calc(100% - 32px); font-size: .93rem;
}
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* Reveal animation */
/* Only hidden when JS is running, so content is always visible to crawlers / no-JS */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .12s; }
.reveal-delay-2 { transition-delay: .24s; }
.reveal-delay-3 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .feature-grid, .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .main-nav ul { gap: 22px; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); background: #14110D; padding: 110px 34px 40px;
    transform: translateX(100%); transition: transform .45s var(--ease), visibility .45s; visibility: hidden; z-index: -1;
  }
  .nav-open .main-nav { visibility: visible; box-shadow: -20px 0 40px rgba(0,0,0,.4); }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .main-nav li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav a { display: block; padding: 14px 0; font-size: 1.05rem; }
  .main-nav .nav-mobile-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 30px; border: 0; }
  /* Transparent gold-outline buttons in the mobile menu */
  .main-nav .nav-mobile-cta .btn-ghost {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 13px 18px; font-size: .92rem; color: var(--gold-light);
  }
  .main-nav .nav-mobile-cta .btn-ghost::after { display: none; }
  .main-nav .nav-mobile-cta .btn-ghost:hover,
  .main-nav .nav-mobile-cta .btn-ghost:active { color: #fff; }
  .nav-open .main-nav { transform: none; }
  .nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 99; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .split-media { max-width: 520px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .step::after { display: none; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .slider-track > * { flex-basis: calc((100% - 28px) / 2); }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 961px) { .main-nav .nav-mobile-cta { display: none; } }

@media (max-width: 680px) {
  :root { --header-h: 76px; }
  .section { padding: 72px 0; }
  .section--flush-bottom { padding-bottom: 0; }
  .section--tight-top { padding-top: 56px; }
  .container { padding: 0 16px; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 1.08rem; }
  .brand-tag { font-size: .58rem; letter-spacing: .14em; white-space: nowrap; }
  .header-inner { gap: 10px; }
  .header-cta { gap: 10px; }
  .lang-switch { font-size: .8rem; gap: 4px; }
  .hero { padding-bottom: 150px; min-height: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .feature-media { margin-top: -110px; }
  .media-text { padding: 34px 24px; }
  .info-grid { grid-template-columns: 1fr; max-width: 340px; }
  .info-item { justify-content: flex-start; padding: 16px 0; }
  .info-item + .info-item { border-left: 0; border-top: 1px solid var(--line); }
  .review-grid, .feature-grid, .steps, .footer-top, .form-grid { grid-template-columns: 1fr; }
  .slider-track > * { flex-basis: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .split-media .badge-float { right: 10px; }
  .split-media::before { inset: 14px -10px -14px 14px; }
  .contact-card, .form-card { padding: 34px 22px; }
  .qr-box { flex-direction: column; text-align: center; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .footer-bottom { padding-bottom: 96px; } /* keep text clear of the floating LINE/WhatsApp buttons */
  .fc-toggle { width: 54px; height: 54px; }
  .fc-icon { width: 46px; height: 46px; }
  .fc-menu { bottom: 66px; }
}
