/* =========================================================
   Elegant Tattoo Shop · Koh Chang
   Theme: Red × Black Luxury · Font: Kanit
   ========================================================= */

:root {
  --black: #070707;
  --ink: #0e0e10;
  --panel: #151518;
  --panel-2: #1c1c20;
  --red: #c1121f;
  --red-bright: #e11d2a;
  --red-deep: #7d0a12;
  --red-darker: #3a0508;
  --cream: #f4eee6;
  --text: #e9e4de;
  --muted: #a39d98;
  --line: rgba(255, 255, 255, 0.09);
  --line-red: rgba(225, 29, 42, 0.35);
  --radius: 4px;
  --header-h: 84px;
  --container: 1240px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Kanit', system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--black);
  overflow-x: hidden;
}
html.no-scroll, body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: .01em; }
p { margin: 0 0 1em; }
em { font-style: normal; color: var(--red-bright); }
::selection { background: var(--red); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 120px 0; }
.section-dark { background: var(--ink); }
.section-black { background: var(--black); }

/* ---------- Grain overlay for luxury texture ---------- */
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Section heading ---------- */
.heading { text-align: center; margin-bottom: 64px; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--red-bright);
  margin-bottom: 14px;
}
.kicker::before, .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.heading-left .kicker::before { display: none; }
.title {
  font-size: clamp(30px, 4.4vw, 54px); font-weight: 600; text-transform: uppercase; color: #fff; letter-spacing: .02em;
}
.ornament { display: block; margin: 18px auto 0; width: 120px; height: 22px; color: var(--red-bright); }
.heading-left { text-align: left; }
.heading-left .ornament { margin-left: 0; }
.lead { color: var(--muted); font-size: 17px; max-width: 680px; margin: 22px auto 0; }
.heading-left .lead { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 34px; font-size: 15px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius); overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 18px; height: 18px; }
.btn-red { background: linear-gradient(135deg, var(--red-bright), var(--red-deep)); color: #fff; box-shadow: 0 12px 30px -10px rgba(225, 29, 42, .6); }
.btn-red::before { background: #fff; }
.btn-red:hover { color: var(--red-deep); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, .45); color: #fff; background: transparent; }
.btn-outline::before { background: var(--red); }
.btn-outline:hover { border-color: var(--red); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark::before { background: var(--red); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; font-size: 14px; color: #fff;
}
.link-arrow svg { width: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background .4s, height .4s, box-shadow .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
/* blur lives on ::before — backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: transparent; transition: background .4s;
}
.site-header.scrolled {
  --header-h: 70px;
  border-color: var(--line); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .8);
}
.site-header.scrolled::before {
  background: rgba(7, 7, 7, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1360px; }
.brand img { height: 44px; width: auto; border-radius: 2px; transition: height .4s; box-shadow: 0 6px 20px -6px rgba(193, 18, 31, .6); }
.site-header.scrolled .brand img { height: 38px; }
.main-nav { display: flex; align-items: center; gap: 38px; }
.main-nav > a {
  position: relative; font-size: 15px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: #fff; padding: 6px 0; opacity: .85; transition: opacity .3s;
}
.main-nav > a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--red-bright);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.main-nav > a:hover, .main-nav > a.active { opacity: 1; }
.main-nav > a:hover::after, .main-nav > a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav > a.active { color: #fff; }
.nav-mobile-extra { display: none; }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch {
  display: flex; align-items: center; border: 1px solid var(--line); border-radius: 40px; padding: 3px; background: rgba(255, 255, 255, .03);
}
.lang-switch button {
  border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 500; letter-spacing: .1em; padding: 5px 12px; border-radius: 40px; transition: .3s;
  display: inline-flex; align-items: center; gap: 6px;
}
.lang-switch button .flag { width: 16px; height: 11px; border-radius: 2px; overflow: hidden; display: block; }
.lang-switch button.active { background: var(--red); color: #fff; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; position: relative; z-index: 120; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: .4s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; right: 18px; }
.burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: hidden; background: var(--black); }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(3px) saturate(.9); transform: scale(1.15); transition: transform 7s linear; }
.hero-slide.active .hero-bg { transform: scale(1.04); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(193, 18, 31, .28), transparent 55%),
    linear-gradient(90deg, rgba(7, 7, 7, .96) 0%, rgba(7, 7, 7, .82) 45%, rgba(7, 7, 7, .55) 100%),
    linear-gradient(0deg, rgba(7, 7, 7, 1) 0%, transparent 30%);
}
.hero-inner { position: relative; z-index: 2; height: 100%; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 60px; padding-top: var(--header-h); }
.hero-text { border-left: 3px solid var(--red-bright); padding-left: 34px; }
.hero-eyebrow { display: inline-block; font-size: 13px; letter-spacing: .35em; text-transform: uppercase; color: var(--red-bright); font-weight: 500; margin-bottom: 18px; }
.hero h1, .hero .h1 { font-size: clamp(38px, 5.6vw, 80px); font-weight: 600; text-transform: uppercase; color: #fff; line-height: 1.04; letter-spacing: .01em; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); color: #d6d0ca; max-width: 560px; margin: 26px 0 40px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-text > * { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero-slide.active .hero-text > * { opacity: 1; transform: none; }
.hero-slide.active .hero-text > *:nth-child(2) { transition-delay: .15s; }
.hero-slide.active .hero-text > *:nth-child(3) { transition-delay: .3s; }
.hero-slide.active .hero-text > *:nth-child(4) { transition-delay: .45s; }
.hero-frame { position: relative; justify-self: center; width: min(100%, 420px); opacity: 0; transform: translateX(40px) rotate(3deg); transition: 1.2s var(--ease) .2s; }
.hero-slide.active .hero-frame { opacity: 1; transform: rotate(2deg); }
.hero-frame .torn { aspect-ratio: 4/5; }
.hero-frame::before {
  content: ""; position: absolute; inset: 30px -26px -26px 30px; border: 1px solid var(--line-red); z-index: -1;
}
.hero-badge {
  position: absolute; left: -46px; bottom: 40px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: var(--shadow);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2; transform: rotate(-2deg);
}
.hero-badge strong { display: block; font-size: 34px; font-weight: 700; letter-spacing: 0; }
.hero-badge::before { content: ""; position: absolute; inset: 6px; border: 1px dashed rgba(255, 255, 255, .5); border-radius: 50%; animation: spin 30s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-pager { position: absolute; right: 40px; top: 50%; transform: translateY(-50%); z-index: 5; display: flex; flex-direction: column; gap: 22px; }
.hero-pager button {
  width: 26px; height: 26px; border: 1px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; transform: rotate(45deg);
  font-size: 10px; display: grid; place-items: center; transition: .4s var(--ease);
}
.hero-pager button span { transform: rotate(-45deg); }
.hero-pager button.active { background: var(--red); border-color: var(--red); transform: rotate(45deg) scale(1.2); }
.hero-social { position: absolute; left: 34px; bottom: 50px; z-index: 5; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.hero-social::after { content: ""; width: 1px; height: 70px; background: linear-gradient(var(--red-bright), transparent); }
.hero-social a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; opacity: .7; transition: .3s; }
.hero-social a:hover { opacity: 1; background: var(--red); }
.hero-social svg { width: 16px; height: 16px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; z-index: 5; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-cue i { width: 22px; height: 36px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 12px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; background: var(--red-bright); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.dots-deco { position: absolute; width: 90px; height: 70px; background-image: radial-gradient(var(--red-bright) 1.6px, transparent 1.8px); background-size: 14px 14px; opacity: .6; pointer-events: none; }

/* ---------- Torn paper frame ---------- */
.torn { position: relative; box-shadow: var(--shadow); }
.torn img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: 460px; display: flex; align-items: flex-end; padding: calc(var(--header-h) + 80px) 0 80px; overflow: hidden; }
.page-hero .hero-bg { filter: blur(2px) grayscale(.2); transform: scale(1.08); }
.page-hero .hero-overlay { background: linear-gradient(90deg, rgba(7, 7, 7, .95), rgba(7, 7, 7, .6)), linear-gradient(0deg, var(--black), transparent 50%); }
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero .breadcrumb { justify-content: center; }
.page-hero h1 { font-size: clamp(40px, 6vw, 84px); text-transform: uppercase; color: #fff; font-weight: 600; }
.page-hero p { color: #cfc9c3; max-width: 620px; margin: 16px auto 0; font-size: 18px; }
.breadcrumb { display: flex; gap: 10px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--red-bright); }
.breadcrumb span { color: var(--red-bright); }

/* =========================================================
   STATS
   ========================================================= */
.stats { position: relative; z-index: 3; margin-top: -1px; background: var(--black); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(34px, 3.6vw, 48px); font-weight: 600; color: #fff; line-height: 1; }
.stat strong sup { color: var(--red-bright); font-size: .5em; margin-left: 2px; }
.stat span { display: block; margin-top: 10px; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* =========================================================
   ABOUT / STORY
   ========================================================= */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.collage { position: relative; height: 620px; }
.collage .c1 { position: absolute; right: 0; top: 0; width: 70%; height: 78%; transform: rotate(1.5deg); }
.collage .c2 { position: absolute; left: 0; bottom: 0; width: 52%; height: 58%; transform: rotate(-3deg); z-index: 2; }
.collage .flourish { position: absolute; left: 6%; top: 8%; width: 120px; color: var(--red-bright); opacity: .8; }
.collage .signature { position: absolute; right: 6%; bottom: 0; font-size: 40px; font-weight: 200; font-style: italic; color: var(--cream); transform: rotate(-6deg); letter-spacing: .02em; }
.collage .signature::before { content: "— "; color: var(--red-bright); }
.about-text .title { font-size: clamp(28px, 3.2vw, 42px); text-align: left; border-left: 3px solid var(--red-bright); padding-left: 20px; }
.about-text p { color: #cbc5bf; font-size: 17px; margin-top: 26px; }
.timeline { list-style: none; padding: 0; margin: 36px 0 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: linear-gradient(90deg, var(--red-bright), var(--line)); }
.timeline li { position: relative; padding-top: 32px; padding-right: 12px; }
.timeline li::before { content: ""; position: absolute; top: 3px; left: 0; width: 12px; height: 12px; background: var(--black); border: 2px solid var(--red-bright); transform: rotate(45deg); }
.timeline li:last-child::before { background: var(--red-bright); }
.timeline b { display: block; color: #fff; font-weight: 500; font-size: 17px; }
.timeline small { color: var(--muted); font-size: 14px; }

/* =========================================================
   STANDARDS
   ========================================================= */
.standards { overflow: hidden; }
.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.std-card {
  position: relative; padding: 44px 30px 36px; background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), border-color .5s;
}
.std-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--red-bright), transparent); transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease); }
.std-card:hover { transform: translateY(-8px); border-color: var(--line-red); }
.std-card:hover::before { transform: scaleX(1); }
.std-num { position: absolute; right: 22px; top: 16px; font-size: 64px; font-weight: 700; color: rgba(255, 255, 255, .04); line-height: 1; }
.std-icon { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid var(--line-red); color: var(--red-bright); transform: rotate(45deg); margin: 6px 0 34px 8px; transition: .5s var(--ease); }
.std-icon svg { width: 28px; height: 28px; transform: rotate(-45deg); }
.std-card:hover .std-icon { background: var(--red); color: #fff; border-color: var(--red); }
.std-card h3 { font-size: 20px; color: #fff; font-weight: 500; margin-bottom: 14px; }
.std-card p { color: var(--muted); font-size: 15px; margin: 0; }

/* =========================================================
   SERVICES SHOWCASE (home) – red section like reference
   ========================================================= */
.services-showcase { background: radial-gradient(ellipse at 50% 0%, #a3101b 0%, var(--red-deep) 45%, var(--red-darker) 100%); overflow: hidden; }
.services-showcase .kicker { color: #ffd3d6; }
.services-showcase .ornament { color: #fff; }
.services-showcase .bg-mark { position: absolute; width: 360px; color: rgba(255, 255, 255, .06); pointer-events: none; }
.svc-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; margin-bottom: 64px; }
.svc-tab { background: none; border: 0; padding: 0; color: #fff; text-align: center; position: relative; }
.svc-tab .thumb { aspect-ratio: 4/3; transition: transform .4s var(--ease), filter .4s; filter: grayscale(.6) brightness(.85); }
.svc-tab .thumb img { width: 100%; height: 100%; object-fit: cover; }
.svc-tab span { display: block; margin-top: 12px; font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; }
.svc-tab::after { content: ""; position: absolute; left: 50%; bottom: -18px; margin-left: -6px; border: 6px solid transparent; border-top-color: #fff; opacity: 0; transition: .3s; }
.svc-tab:hover .thumb, .svc-tab.active .thumb { filter: none; transform: translateY(-4px); }
.svc-tab.active::after { opacity: 1; }
.svc-stage { display: grid; grid-template-columns: 56px 1fr 56px; gap: 28px; align-items: center; max-width: 980px; margin: 0 auto; }
.svc-arrow { width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .5); background: transparent; color: #fff; display: grid; place-items: center; transition: .3s; }
.svc-arrow:hover { background: #fff; color: var(--red-deep); }
.svc-arrow svg { width: 20px; }
.svc-frame { position: relative; aspect-ratio: 16/9; }
.svc-frame .torn { height: 100%; }
.svc-frame img { transition: opacity .5s var(--ease), transform .8s var(--ease); }
.svc-frame.swap img { opacity: 0; transform: scale(1.04); }
.svc-info { text-align: center; max-width: 720px; margin: 48px auto 0; }
.svc-info h3 { font-size: clamp(26px, 3vw, 38px); color: #fff; text-transform: uppercase; }
.svc-info h3::after { content: ""; display: block; width: 80px; height: 2px; background: #fff; margin: 16px auto 20px; }
.svc-info p { color: #f3d9da; font-size: 17px; }
.svc-info .link-arrow { margin-top: 10px; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.g-item { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--panel); cursor: zoom-in; border-radius: 2px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .6s; filter: saturate(.9); }
.g-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(125, 10, 18, .85), transparent 60%); opacity: 0; transition: opacity .5s;
}
.g-item .g-plus { position: absolute; left: 50%; top: 50%; z-index: 2; width: 54px; height: 54px; margin: -27px 0 0 -27px; border: 1px solid #fff; color: #fff; display: grid; place-items: center; transform: rotate(45deg) scale(.5); opacity: 0; transition: .5s var(--ease); }
.g-item .g-plus svg { width: 20px; transform: rotate(-45deg); }
.g-item .g-cat { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: 0; transform: translateY(10px); transition: .5s var(--ease); }
.g-item:hover img { transform: scale(1.08); filter: saturate(1.1); }
.g-item:hover::after, .g-item:hover .g-plus, .g-item:hover .g-cat { opacity: 1; }
.g-item:hover .g-plus { transform: rotate(45deg) scale(1); }
.g-item:hover .g-cat { transform: none; }
.center { text-align: center; }
.mt-48 { margin-top: 48px; }

/* Gallery page – grid + filters */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 48px; }
.filter-btn {
  border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 10px 22px; border-radius: 40px; font-size: 14px; letter-spacing: .08em; transition: .3s;
}
.filter-btn:hover { color: #fff; border-color: var(--line-red); }
.filter-btn.active { background: var(--red); border-color: var(--red); color: #fff; }
.filter-btn small { opacity: .6; margin-left: 4px; }
.masonry { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.masonry .g-item { animation: fadeUp .6s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(5, 5, 5, .96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: .4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(92vw, 900px); max-height: 84vh; object-fit: contain; box-shadow: var(--shadow); transition: opacity .3s; }
.lb-btn { position: absolute; width: 54px; height: 54px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .4); color: #fff; display: grid; place-items: center; transition: .3s; border-radius: 50%; }
.lb-btn:hover { background: var(--red); border-color: var(--red); }
.lb-btn svg { width: 22px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: var(--muted); letter-spacing: .3em; font-size: 13px; }

/* =========================================================
   CTA / ATMOSPHERE
   ========================================================= */
.cta-band { position: relative; padding: 150px 0; overflow: hidden; text-align: center; }
.cta-band .hero-bg { filter: blur(2px) grayscale(.3); transform: scale(1.08); }
.cta-band .hero-overlay { background: radial-gradient(ellipse at center, rgba(125, 10, 18, .55), rgba(7, 7, 7, .95) 70%); }
.cta-band .container { position: relative; z-index: 2; max-width: 900px; }
.cta-band .title { font-size: clamp(30px, 4.6vw, 58px); }
.cta-band p { color: #d8d2cc; font-size: 18px; margin-top: 24px; }
.cta-band .note { color: #fff; font-weight: 400; margin-top: 30px; }
.social-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50px; color: #fff; font-weight: 400; letter-spacing: .06em; transition: .35s var(--ease); background: rgba(0, 0, 0, .3);
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row:nth-child(even) .svc-media { order: 2; }
.svc-media { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; height: 520px; }
.svc-media .m1 { grid-row: span 2; }
.svc-media .torn { height: 100%; min-height: 0; }
.svc-media .num { position: absolute; top: -40px; left: -20px; font-size: 130px; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--line-red); line-height: 1; z-index: -1; }
.svc-body h2 { font-size: clamp(28px, 3vw, 40px); color: #fff; text-transform: uppercase; margin-bottom: 20px; }
.svc-body p { color: #c8c2bc; font-size: 17px; }
.svc-body .kicker { margin-bottom: 10px; }
.check-list { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: #ddd7d1; }
.check-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 9px; background: var(--red-bright); transform: rotate(45deg); }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px; text-align: center; }
.step::before {
  counter-increment: step; content: "0" counter(step); display: grid; place-items: center; width: 84px; height: 84px; margin: 0 auto 26px;
  border: 1px solid var(--line-red); color: #fff; font-size: 26px; font-weight: 600; transform: rotate(45deg); background: var(--black); position: relative; z-index: 2;
}
.step::after { content: ""; position: absolute; top: 42px; left: 50%; width: 100%; height: 1px; background: repeating-linear-gradient(90deg, var(--red-bright) 0 6px, transparent 6px 12px); opacity: .5; }
.step:last-child::after { display: none; }
.step h3 { color: #fff; font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step:hover::before { background: var(--red); border-color: var(--red); }

.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.care-list { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.care-item { padding: 26px; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius); }
.care-item svg { width: 30px; height: 30px; color: var(--red-bright); margin-bottom: 14px; }
.care-item h4 { color: #fff; font-weight: 500; font-size: 17px; margin-bottom: 6px; }
.care-item p { color: var(--muted); font-size: 14px; margin: 0; }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews { background: linear-gradient(180deg, var(--ink), var(--black)); }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.review-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; position: relative; padding: 44px 34px 34px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.review .quote { position: absolute; right: 26px; top: 18px; font-size: 90px; line-height: 1; color: var(--red); opacity: .35; font-weight: 700; }
.stars { display: flex; gap: 4px; color: #f2b84b; margin-bottom: 18px; }
.stars svg { width: 18px; height: 18px; }
.review p { color: #d0cac4; font-size: 16px; flex: 1; }
.review-photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
.review-photos a { aspect-ratio: var(--photo-ratio, 1); overflow: hidden; border-radius: 2px; background: var(--panel-2); }
.review-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.review-photos a:only-child { grid-column: 1 / -1; aspect-ratio: var(--photo-ratio, 4 / 3); }
.review-photos a:hover img { transform: scale(1.06); }
.review-author { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.review-author .avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--red-bright), var(--red-deep)); display: grid; place-items: center; color: #fff; font-weight: 600; }
.review-author .avatar { flex: none; overflow: hidden; position: relative; }
.review-author .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.review-author b { display: block; color: #fff; font-weight: 500; }
.review-author small { color: var(--muted); }
.fb-posts-head { text-align: center; margin: 80px 0 32px; }
.fb-posts-head h3 { font-size: clamp(24px, 2.6vw, 32px); color: #fff; font-weight: 600; margin-top: 10px; }
.fb-posts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fb-post { padding: 30px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; }
.fb-post-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.fb-post-head img { width: 92px; height: auto; border-radius: 2px; }
.fb-post-head b { display: block; color: #fff; font-weight: 500; }
.fb-post-head small { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.fb-post-head small svg { width: 13px; height: 13px; color: var(--red-bright); }
.fb-post p { color: #d0cac4; font-size: 15px; flex: 1; }
.fb-post-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0; }
.fb-post-photos a { aspect-ratio: 1; overflow: hidden; border-radius: 2px; background: var(--panel-2); }
.fb-post-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.fb-post-photos a:hover img { transform: scale(1.06); }
.review-nav { display: flex; justify-content: center; gap: 12px; margin-top: 36px; }
.review-nav button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: #fff; display: grid; place-items: center; transition: .3s; }
.review-nav button:hover { background: var(--red); border-color: var(--red); }
.review-nav svg { width: 18px; }
.review-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -70px; position: relative; z-index: 5; }
.c-card { text-align: center; padding: 38px 32px; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--red-bright); border-radius: var(--radius); box-shadow: var(--shadow); }
.c-card .std-icon { margin: 6px auto 26px; }
.c-card h3 { color: #fff; font-weight: 500; font-size: 20px; margin-bottom: 10px; }
.c-card p { color: var(--muted); margin: 0 0 14px; }
.c-card a.link-arrow { font-size: 13px; color: var(--red-bright); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: 48px; align-items: start; }
.contact-grid .side-socials-col { max-width: none; }
.form-card { padding: 50px; background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); color: #fff; font: inherit; font-size: 15px; transition: border-color .3s, box-shadow .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--red-bright) 50%), linear-gradient(135deg, var(--red-bright) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red-bright); box-shadow: 0 0 0 3px rgba(225, 29, 42, .15); }
.field input::-webkit-calendar-picker-indicator { filter: invert(1); }
.send-label { margin: 30px 0 14px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.send-row { display: flex; flex-wrap: wrap; gap: 12px; }
.send-row .btn { flex: 1 1 160px; padding: 14px 18px; }
.form-hint { color: var(--muted); font-size: 13px; margin: 16px 0 0; }
.map-wrap { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
.map-wrap .map-pin { position: absolute; left: 16px; bottom: 16px; }
.side-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.side-socials a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); color: #fff; transition: .3s; background: var(--panel); }
.side-socials a svg { width: 22px; height: 22px; color: var(--red-bright); transition: .3s; }
.side-socials a:hover { background: var(--red); border-color: var(--red); }
.side-socials a:hover svg { color: #fff; }
.side-socials.side-socials-col { grid-template-columns: 1fr; gap: 8px; margin-top: 0; max-width: 70%; }
.side-socials-col a { padding: 12px 16px; gap: 10px; font-size: 15px; line-height: 1.4; }
.side-socials-col a svg { width: 18px; height: 18px; }
.side-socials.side-socials-col small { font-size: 11px; }
.side-socials small { display: block; color: var(--muted); font-size: 12px; line-height: 1.2; }
.side-socials a:hover small { color: #ffd9db; }

.faq { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; color: #fff; text-align: left; font-size: 18px; font-weight: 400; padding: 26px 50px 26px 0; position: relative; }
.faq-q::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 200; color: var(--red-bright); transition: transform .4s var(--ease); }
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.faq-a p { color: var(--muted); padding-bottom: 26px; margin: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; background: var(--black); border-top: 1px solid var(--line); padding: 90px 0 0; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: linear-gradient(90deg, transparent, var(--red-bright), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--muted); font-size: 15px; max-width: 320px; }
.site-footer h4 { color: #fff; font-size: 15px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 22px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--muted); transition: .3s; display: inline-flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-links a::before { content: ""; width: 5px; height: 5px; background: var(--red-bright); transform: rotate(45deg); }
.footer-contact { color: var(--muted); font-size: 15px; display: grid; gap: 14px; }
.footer-contact div { display: flex; gap: 12px; }
.footer-contact svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--red-bright); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.footer-social a { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: .3s; }
.footer-social a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-big { font-size: clamp(60px, 14vw, 200px); font-weight: 700; text-transform: uppercase; line-height: .8; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); margin: 70px 0 -14px; letter-spacing: .04em; user-select: none; white-space: nowrap; }
.footer-bottom { border-top: 1px solid var(--line); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 14px; position: relative; background: var(--black); }

/* Floating buttons */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab a, .fab button { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 0; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .8); transition: .35s var(--ease); }
.fab svg { width: 24px; height: 24px; }
.fab .fab-book { background: linear-gradient(135deg, var(--red-bright), var(--red-deep)); animation: pulse 2.4s infinite; }
.fab a:hover, .fab button:hover { transform: translateY(-3px); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(225, 29, 42, .55); } 70% { box-shadow: 0 0 0 16px rgba(225, 29, 42, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 29, 42, 0); } }

.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 30px); z-index: 400; background: var(--panel-2); border: 1px solid var(--line-red); color: #fff; padding: 14px 24px; border-radius: 50px; opacity: 0; visibility: hidden; transition: .4s var(--ease); max-width: calc(100% - 32px); text-align: center; font-size: 15px; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }

/* Preloader */
.preloader { position: fixed; inset: 0; z-index: 500; background: var(--black); display: grid; place-items: center; transition: opacity .7s, visibility .7s; }
.preloader.done { opacity: 0; visibility: hidden; }
.preloader img { width: 220px; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { opacity: .5; transform: scale(.97); } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav { gap: 26px; }
  .nav-actions .btn { display: none; }
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 991px) {
  :root { --header-h: 72px; }
  .section { padding: 90px 0; }
  .burger { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; gap: 22px;
    background: radial-gradient(ellipse at top right, var(--red-darker), var(--black) 60%);
    opacity: 0; visibility: hidden; transition: .5s var(--ease);
    overflow-y: auto; overscroll-behavior: contain;
  }
  .main-nav > a { font-size: 28px; font-weight: 500; transform: translateY(20px); transition: transform .6s var(--ease), opacity .6s; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .main-nav > a { transform: none; }
  .nav-mobile-extra { display: flex; flex-direction: column; align-items: center; gap: 22px; margin-top: 20px; }
  .nav-mobile-extra .footer-social { justify-content: center; margin: 0; }
  .nav-actions { position: relative; z-index: 120; }
  .hero-inner { grid-template-columns: 1fr; }
  /* mobile: slides stack in one grid cell so the hero grows to fit text + framed photo */
  .hero { height: auto; min-height: 100vh; display: grid; }
  .hero-slide { position: relative; inset: auto; grid-area: 1 / 1; }
  .hero .hero-inner { height: auto; align-content: center; gap: 44px; padding-top: calc(var(--header-h) + 40px); padding-bottom: 110px; }
  .hero-frame { width: min(62%, 280px); }
  .hero-frame::before { inset: 16px -12px -12px 16px; }
  .hero-badge { width: 80px; height: 80px; left: -26px; bottom: 22px; font-size: 9px; letter-spacing: .1em; }
  .hero-badge strong { font-size: 22px; }
  .hero-social { display: none; }
  .hero-pager { right: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .about-grid, .contact-grid, .care-grid { grid-template-columns: 1fr; gap: 60px; }
  .collage { height: 520px; max-width: 620px; margin: 0 auto; width: 100%; }
  .svc-tabs { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .masonry { grid-template-columns: repeat(3, 1fr); }
  .svc-row { grid-template-columns: 1fr; gap: 50px; padding: 60px 0; }
  .svc-row:nth-child(even) .svc-media { order: 0; }
  .svc-media { height: 440px; }
  .process-grid { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .step:nth-child(2)::after { display: none; }
  .review-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .contact-cards { grid-template-columns: 1fr; margin-top: -50px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .heading { margin-bottom: 44px; }
  .brand img { height: 36px; }
  .lang-switch button { padding: 5px 9px; }
  .lang-switch button .flag { display: none; }
  .hero { min-height: 640px; }
  .hero .hero-inner { padding-bottom: 150px; }
  .hero-frame { width: min(64%, 240px); }
  .hero-text { padding-left: 20px; }
  .hero-btns { gap: 12px; }
  .hero-btns .btn { flex: 0 1 auto; padding: 12px 22px; font-size: 13px; }
  .hero-pager { top: auto; bottom: 90px; transform: none; flex-direction: row; right: 50%; margin-right: -60px; }
  .scroll-cue { display: none; }
  .stat { padding: 28px 12px; }
  .stat span { font-size: 11px; letter-spacing: .12em; }
  .collage { height: 420px; }
  .collage .signature { font-size: 28px; }
  .collage .flourish { width: 80px; }
  .timeline { grid-template-columns: 1fr; gap: 18px; }
  .timeline::before { left: 5px; top: 0; bottom: 0; right: auto; width: 1px; height: auto; background: linear-gradient(var(--red-bright), var(--line)); }
  .timeline li { padding: 0 0 0 30px; }
  .standards-grid { grid-template-columns: 1fr; gap: 14px; }
  .std-card { padding: 26px 22px 24px; }
  .std-num { font-size: 46px; right: 16px; top: 12px; }
  .std-icon { width: 48px; height: 48px; margin: 4px 0 22px 6px; }
  .std-icon svg { width: 22px; height: 22px; }
  .std-card h3 { font-size: 18px; margin-bottom: 8px; }
  .std-card p { font-size: 14px; }
  .svc-tabs { grid-template-columns: repeat(3, 1fr); gap: 12px; row-gap: 28px; }
  .svc-tab span { font-size: 11px; letter-spacing: .04em; }
  .svc-stage { grid-template-columns: 1fr 1fr; gap: 14px; }
  .svc-frame { grid-column: 1 / -1; order: -1; }
  .svc-arrow { justify-self: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .masonry { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .cta-band { padding: 100px 0; }
  .social-btn { flex: 1 1 calc(50% - 14px); justify-content: center; padding: 12px 14px; font-size: 14px; }
  .svc-media { height: 360px; grid-template-columns: 1.3fr 1fr; gap: 8px; }
  .svc-media .num { font-size: 90px; top: -30px; left: 0; }
  .svc-row { gap: 64px; }
  .process-grid { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .care-list { grid-template-columns: 1fr; }
  .care-item { text-align: center; }
  .care-item svg { margin-left: auto; margin-right: auto; }
  .review-track { grid-auto-columns: 88%; gap: 14px; }
  .fb-posts { grid-template-columns: 1fr; }
  .fb-post { padding: 22px 18px; }
  .form-card { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .side-socials { grid-template-columns: 1fr; }
  .side-socials.side-socials-col { max-width: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-brand img { margin-left: auto; margin-right: auto; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-social { justify-content: center; }
  .footer-links { justify-items: center; }
  .footer-links a:hover { padding-left: 0; }
  .footer-contact { justify-items: center; }
  .footer-contact div { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .page-hero { min-height: 380px; padding-bottom: 60px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-count { bottom: 36px; }
  .fab { right: 14px; bottom: 14px; }
  .fab a, .fab button { width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Icon wrappers */
[data-icon] { display: inline-flex; align-items: center; justify-content: center; font-style: normal; line-height: 0; }
.svc-media { isolation: isolate; }
.lang-th .title, .lang-th .hero h1, .lang-th .hero .h1, .lang-th .page-hero h1 { letter-spacing: 0; line-height: 1.25; }
.lang-th .kicker, .lang-th .main-nav > a, .lang-th .btn { letter-spacing: .06em; }

/* Footer privacy link */
.footer-bottom a { color: inherit; transition: color .3s; }
.footer-bottom a:hover { color: #fff; }

/* Error pages (404 / 500) */
.error-page .page-hero { min-height: 100vh; align-items: center; }
.error-code { display: block; font-size: clamp(90px, 18vw, 200px); font-weight: 700; line-height: 1; color: var(--red-bright); letter-spacing: .02em; }
.error-page .hero-btns { justify-content: center; margin-top: 36px; }

/* Privacy policy: both languages ship in the HTML; show the active one */
.legal { max-width: 820px; margin: 0 auto; color: #cfc9c3; font-size: 17px; line-height: 1.8; }
.legal h2 { color: #fff; font-size: 24px; margin: 44px 0 12px; }
.legal p, .legal ul { margin-bottom: 14px; }
.legal ul { padding-left: 22px; list-style: disc; }
.legal a { color: var(--red-bright); text-decoration: underline; }
.legal .legal-date { color: var(--muted); font-size: 14px; }
.lang-th .legal-en, body:not(.lang-th) .legal-th { display: none; }


/* Home · Studio atmosphere bento grid */
.studio-grid {
  display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px;
  grid-template-areas: "main main front a" "main main front b" "tall1 wide wide tall2" "tall1 wide wide tall2";
}
.studio-grid a { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--panel); box-shadow: var(--shadow); }
.studio-grid a[hidden] { display: none; }
.studio-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: brightness(.92); }
.studio-grid a:hover img { transform: scale(1.05); filter: none; }
.studio-grid .s-main { grid-area: main; } .studio-grid .s-front { grid-area: front; }
.studio-grid .s-a { grid-area: a; } .studio-grid .s-b { grid-area: b; }
.studio-grid .s-tall1 { grid-area: tall1; } .studio-grid .s-wide { grid-area: wide; } .studio-grid .s-tall2 { grid-area: tall2; }
@media (max-width: 991px) {
  .studio-grid { grid-auto-rows: 170px; gap: 10px; }
}
@media (max-width: 640px) {
  .studio-grid {
    grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px;
    grid-template-areas: "main main" "main main" "front a" "front b" "wide wide" "wide wide" "tall1 tall2" "tall1 tall2";
  }
}
