/* motion.css — site-wide polish: title shimmer, button shine, about badge,
   homepage gallery bento, menu-row hover. Transform/opacity only; all of it is switched off
   under prefers-reduced-motion at the bottom. */

/* ---- hero title: mask-rise + shimmer on the second line ---- */
.rt-title .t1, .rt-title .t2 { animation: rtTitleRise .9s var(--ease) both; }
.rt-title .t1 { animation-delay: .15s; } .rt-title .t2 { animation-delay: .3s; }
@keyframes rtTitleRise { from { clip-path: inset(0 0 100% 0); transform: translateY(.5em); } to { clip-path: inset(-10% -5% -10% -5%); transform: none; } }
.rt-title .t2 { background: linear-gradient(100deg, var(--turmeric) 38%, #FFF1C2 50%, var(--turmeric) 62%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: rtTitleRise .9s var(--ease) .3s both, rtShimmer 6s linear 1.6s infinite; }
@keyframes rtShimmer { from { background-position: 130% 0; } to { background-position: -130% 0; } }

/* ---- buttons: light sweep ---- */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent); transition: transform .7s var(--ease); }
.btn:hover::before { transform: translateX(120%) skewX(-20deg); }
.rt-ctas .btn--solid { animation: rtPulse 3.2s ease-in-out 2.2s infinite; }
@keyframes rtPulse { 0%,100% { box-shadow: 0 10px 26px rgba(240,146,43,.32); } 50% { box-shadow: 0 10px 34px rgba(240,146,43,.6), 0 0 0 7px rgba(240,146,43,.12); } }

/* ---- section-title underline draws itself ---- */
.sec-title[data-reveal]::after { transform: scaleX(0) rotate(-.6deg); transform-origin: left; transition: transform .9s var(--ease) .35s; }
.sec-title[data-reveal].in-view::after { transform: scaleX(1) rotate(-.6deg); }

/* ---- facility strip: icons pop in, wiggle on hover ---- */
.fs-item .fs-ico { transition: transform .4s var(--ease); }
.fs-item[data-reveal].in-view .fs-ico { animation: rtPop .6s var(--ease) both; }
.fs-item:hover .fs-ico { transform: translateY(-4px) rotate(-6deg) scale(1.08); }
@keyframes rtPop { 0% { transform: scale(.4) rotate(-20deg); opacity: 0; } 70% { transform: scale(1.12); } 100% { transform: none; opacity: 1; } }

/* ---- category cards: lift ---- */
.fc-card { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.fc-card:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(20,17,13,.22); }

/* ---- about photo: ken-burns, scroll parallax, rotating badge ---- */
.rt-about-photo .shot, .about-photo .shot { transform: scale(1.1); animation: rtKen 22s ease-in-out infinite alternate; translate: 0 calc(var(--sy, 0) * 1px); }
.rt-about-photo.ph, .about-photo.ph { overflow: hidden; }
.rt-about-photo { overflow: hidden; }
@keyframes rtKen { from { transform: scale(1.08) translateX(-1.5%); } to { transform: scale(1.18) translateX(1.5%); } }
.rt-about-photo::before { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(20,10,4,.62), transparent); }
.rt-about-scribble { z-index: 3; }
.rt-badge { position: absolute; right: 4%; top: 6%; z-index: 4; width: clamp(84px, 13%, 120px); aspect-ratio: 1; color: var(--ink);
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.35)); }
.rt-badge .bd-bg { fill: var(--turmeric); }
.rt-badge .bd-text { font-family: var(--font-ui); font-size: 9.6px; font-weight: 700; letter-spacing: 1.6px; fill: var(--ink); transform-origin: 60px 60px; animation: rtSpinBadge 18s linear infinite; }
.rt-badge .bd-icon { color: var(--ink); }
@keyframes rtSpinBadge { to { transform: rotate(360deg); } }

/* about.html photo */
.about-photo { box-shadow: var(--shadow-lift); }

/* ---- homepage gallery (bento) ---- */
.rt-gallery { background: var(--cream-2); padding: var(--sp-6) 0 var(--sp-7); }
.gt-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: var(--sp-2); }
.gt-tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius-m); box-shadow: var(--shadow-card);
  background: #3a2c1b; clip-path: inset(0 0 100% 0 round 14px); transition: clip-path .9s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.gt-tile.in-view { clip-path: inset(0 0 0 0 round 14px); }
.gt-tile:hover { box-shadow: var(--shadow-lift); transform: translateY(-4px); }
.gt-tile:focus-visible { outline: 3px solid var(--turmeric); outline-offset: 3px; }
.gt-big { grid-column: span 2; grid-row: span 2; }
.gt-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gt-tile:hover img { transform: scale(1.08); }
.gt-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,10,4,.78), transparent 55%); opacity: .75; transition: opacity .4s; }
.gt-tile:hover::after { opacity: 1; }
.gt-cap { position: absolute; left: 1rem; bottom: .85rem; z-index: 2; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.02rem;
  translate: 0 6px; transition: translate .4s var(--ease); text-shadow: 0 2px 10px rgba(0,0,0,.5); }
.gt-cap small { display: block; font-family: var(--font-ui); font-weight: 600; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--turmeric-2); opacity: 0; transition: opacity .4s; }
.gt-tile:hover .gt-cap { translate: 0 0; } .gt-tile:hover .gt-cap small { opacity: 1; }
@media (max-width: 900px) { .gt-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }

/* ---- menu rows ---- */
.menu-row { transition: background .25s var(--ease), padding-inline .25s var(--ease); border-radius: 6px; }
.menu-row:hover { background: rgba(240,146,43,.1); padding-inline: .6rem; }

@media (prefers-reduced-motion: reduce) {
  .rt-title .t1, .rt-title .t2, .rt-ctas .btn--solid, .rt-badge .bd-text, .rt-about-photo .shot, .about-photo .shot, .fs-item[data-reveal].in-view .fs-ico { animation: none !important; }
  .rt-title .t2 { -webkit-text-fill-color: var(--turmeric); color: var(--turmeric); background: none; }
  .gt-tile { clip-path: none; }
  .sec-title[data-reveal]::after { transform: rotate(-.6deg); }
  .rt-about-photo .shot, .about-photo .shot { transform: none; translate: none; }
  .btn::before { display: none; }
}

/* =====================================================================
   REVIEWS — platform rating cards (count-up, star fill, tilt, drifting stars)
   ===================================================================== */
.rt-reviews { position: relative; overflow: hidden; padding: var(--sp-7) 0; color: var(--on-dark);
  background: radial-gradient(ellipse at 20% 0%, #1f5a46 0%, #123a2c 55%, #0d2a20 100%); }
.rv-bg { position: absolute; inset: 0; pointer-events: none; }
.rv-star { position: absolute; left: var(--x); bottom: -30px; font-size: var(--s); color: var(--turmeric-2); opacity: 0;
  animation: rvFloat var(--d) linear infinite; animation-delay: var(--w); }
@keyframes rvFloat { 0% { opacity: 0; transform: translateY(0) rotate(0); } 12% { opacity: .35; } 100% { opacity: 0; transform: translateY(-110vh) rotate(160deg); } }
.rt-reviews .container { position: relative; z-index: 1; }
.rv-head { text-align: center; margin-bottom: var(--sp-5); }
.rv-eyebrow { color: var(--turmeric-2); justify-content: center; }
.rv-title { color: #fff; }
.rv-sub { margin: .5rem auto 0; color: var(--on-dark-mu); font-size: var(--fs-small); }

.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); max-width: 980px; margin: 0 auto; }
.rv-card { position: relative; border-radius: var(--radius-l); padding: 1.7rem 1.5rem 1.5rem; text-align: center;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(240,146,43,.28);
  backdrop-filter: blur(6px); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.rv-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,211,92,.55) 50%, transparent 70%); background-size: 250% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1.5px; }
.rv-card.in-view::before { opacity: 1; animation: rvEdge 4.5s linear infinite; }
@keyframes rvEdge { from { background-position: 150% 0; } to { background-position: -150% 0; } }
.rv-plat { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--turmeric-2); letter-spacing: .02em; }
.rv-num { display: block; margin: .35rem 0 .1rem; font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; color: #fff; }
.rv-num small { font-size: .35em; color: var(--on-dark-mu); font-weight: 500; margin-left: .15em; }
.rv-stars { position: relative; display: inline-block; font-size: 1.5rem; letter-spacing: .12em; line-height: 1; color: rgba(255,255,255,.2); }
.rv-stars .fill { position: absolute; left: 0; top: 0; width: 0; overflow: hidden; white-space: nowrap; color: var(--turmeric-2);
  transition: width 1.5s var(--ease) .25s; filter: drop-shadow(0 0 8px rgba(255,211,92,.55)); }
.rv-card.in-view .rv-stars .fill { width: var(--fill); }
.rv-note { margin: .8rem 0 0; font-size: var(--fs-small); color: var(--on-dark-mu); }
.rv-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); margin-top: 1rem; overflow: hidden; }
.rv-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--turmeric), var(--turmeric-2)); transition: width 1.6s var(--ease) .3s; }
.rv-card.in-view .rv-bar i { width: var(--fill); }

.rv-cta { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-5); }

/* optional real-review wall (only appears when REVIEWS has entries) */
.rv-wall { margin-top: var(--sp-5); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv-track { display: flex; gap: var(--sp-2); width: max-content; animation: rvScroll 60s linear infinite; }
.rv-wall:hover .rv-track { animation-play-state: paused; }
@keyframes rvScroll { to { transform: translateX(-50%); } }
.rv-quote { width: 300px; flex: none; padding: 1.2rem; border-radius: var(--radius-m); background: rgba(255,255,255,.08); border: 1px solid rgba(240,146,43,.25); }
.rv-quote p { margin: .5rem 0; font-size: var(--fs-small); line-height: 1.55; }
.rv-quote b { color: var(--turmeric-2); font-size: var(--fs-small); } .rv-quote span { color: var(--turmeric-2); letter-spacing: .1em; }
.rv-quote small { color: var(--on-dark-mu); }

@media (max-width: 800px) { .rv-grid { grid-template-columns: 1fr; max-width: 420px; } }

/* =====================================================================
   FACILITIES — animated icon cards with cursor spotlight
   ===================================================================== */
.rt-facilities { padding: var(--sp-7) 0; background: var(--cream); }
.fx-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-3); }
.fx-card { --mx: 50%; --my: 50%; position: relative; overflow: hidden; border-radius: var(--radius-l); padding: 2rem 1.6rem 1.7rem;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s; }
.fx-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(circle 190px at var(--mx) var(--my), rgba(240,146,43,.22), transparent 70%); }
.fx-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lift); border-color: rgba(240,146,43,.6); }
.fx-card:hover::before { opacity: 1; }
.fx-no { position: absolute; right: 1.1rem; top: .7rem; font-family: var(--font-head); font-size: 3.4rem; font-weight: 700; line-height: 1;
  color: rgba(240,146,43,.13); transition: transform .6s var(--ease), color .4s; }
.fx-card:hover .fx-no { transform: translateY(-4px) scale(1.12); color: rgba(240,146,43,.3); }
.fx-ico { position: relative; width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1.1rem;
  color: var(--forest, #16392D); background: linear-gradient(145deg, #FFE7A8, var(--turmeric-2)); box-shadow: 0 8px 20px rgba(240,146,43,.35); }
.fx-ico::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1.5px dashed rgba(240,146,43,.5); animation: rtSpin 18s linear infinite; }
.fx-ico svg { width: 32px; height: 32px; stroke-width: 1.7; overflow: visible; }
.fx-card h3 { margin: 0; font-family: var(--font-head); font-size: 1.12rem; line-height: 1.3; position: relative; }
.fx-card p { margin: .5rem 0 0; font-size: var(--fs-small); color: var(--muted); position: relative; }

/* one signature motion per facility (continuous but subtle; livelier on hover) */
.fx-card[data-fx="leaf"] .fx-ico svg { transform-origin: 50% 100%; animation: fxSway 3.6s ease-in-out infinite; }
.fx-card[data-fx="utensils"] .fx-ico svg { animation: fxWiggle 3.2s ease-in-out infinite; }
.fx-card[data-fx="people"] .fx-ico svg { animation: fxBob 2.6s ease-in-out infinite; }
.fx-card[data-fx="car"] .fx-ico svg { animation: fxDrive 3.4s ease-in-out infinite; }
.fx-card[data-fx="cloche"] .fx-ico svg { animation: fxLift 3s ease-in-out infinite; }
.fx-card:hover .fx-ico svg { animation-duration: 1.1s; }
@keyframes fxSway   { 0%,100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
@keyframes fxWiggle { 0%,100% { transform: rotate(0); } 30% { transform: rotate(-10deg); } 60% { transform: rotate(8deg); } }
@keyframes fxBob    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes fxDrive  { 0%,100% { transform: translateX(-4px); } 50% { transform: translateX(4px); } }
@keyframes fxLift   { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-4px) scale(1.06); } }
.fx-clock .hand-m { transform-origin: 12px 12px; animation: rtSpin 6s linear infinite; }
.fx-clock .hand-h { transform-origin: 12px 12px; animation: rtSpin 72s linear infinite; }
.fx-card:hover .fx-clock .hand-m { animation-duration: 1.6s; }

@media (max-width: 900px) { .fx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fx-grid { grid-template-columns: 1fr; } .fx-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; padding: 1.2rem; }
  .fx-ico { margin: 0; width: 56px; height: 56px; } .fx-card p { grid-column: 2; } .fx-no { font-size: 2.4rem; } }

@media (prefers-reduced-motion: reduce) {
  .rv-star, .fx-ico::after, .fx-card .fx-ico svg, .fx-clock .hand-m, .fx-clock .hand-h, .rv-card.in-view::before, .rv-track { animation: none !important; }
  .rv-stars .fill, .rv-bar i { transition: none; }
  .rv-wall { overflow-x: auto; }
}

/* utilities */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* gallery tile sizes (homepage bento) */
.gt-wide { grid-column: span 2; }
.gt-tall { grid-row: span 2; }
.gt-span3 { grid-column: span 3; grid-row: span 2; }
@media (max-width: 900px) { .gt-span3 { grid-column: span 2; } }
@media (max-width: 900px) { .gt-grid { grid-auto-rows: 160px; } }

/* =====================================================================
   NEWS & UPDATES
   ===================================================================== */
.rt-news { padding: var(--sp-7) 0; background: linear-gradient(135deg, #FFF8EA 0%, #F6EBD3 100%); }
.rt-news .fc-eyebrow { color: var(--brick); }
.nw-title { margin: .2rem 0 0; font-size: clamp(2rem, 4.6vw, 3.2rem); }
.nw-title em { font-style: normal; color: var(--turmeric); }
.nw-title::after { display: none; }
.nw-rule { display: flex; align-items: center; gap: .55rem; margin: 1rem 0 1.2rem; }
.nw-rule i { display: block; height: 3px; width: 0; border-radius: 3px; background: var(--turmeric); transition: width .9s var(--ease) .3s; }
.nw-rule b { width: 9px; height: 9px; border-radius: 50%; background: var(--turmeric); animation: nwDot 2.4s ease-in-out infinite; }
.rt-news.in-view-rule .nw-rule i, .nw-rule.in-view i { width: 46px; }
@keyframes nwDot { 0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(240,146,43,.5); } 50% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(240,146,43,0); } }
.nw-sub { margin: 0 0 var(--sp-4); max-width: 60ch; font-size: 1.05rem; color: var(--ink-2, #3b3226); }
.nw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: var(--sp-3); }
.nw-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-l); padding: 1.6rem 1.6rem 1.4rem; background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.nw-card::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--turmeric), var(--turmeric-2)); transition: transform .6s var(--ease); }
.nw-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.nw-card:hover::before, .nw-card.in-view::before { transform: scaleX(1); }
.nw-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .7rem; }
.nw-tag { display: inline-flex; align-items: center; gap: .45rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; color: var(--brick); }
.nw-meta time { font-size: .8rem; color: var(--muted); }
.nw-ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #d83a2c; }
.nw-ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #d83a2c; animation: nwPing 1.8s ease-out infinite; }
@keyframes nwPing { to { transform: scale(3.2); opacity: 0; } }
.nw-card h3 { margin: 0 0 .5rem; font-family: var(--font-head); font-size: 1.4rem; line-height: 1.25; }
.nw-card p { margin: 0; color: var(--muted); line-height: 1.65; flex: 1; }
.nw-cta { margin-top: 1.1rem; align-self: flex-start; font-weight: 700; font-size: var(--fs-small); color: var(--brick); text-decoration: none; display: inline-flex; gap: .4rem; }
.nw-cta span { transition: transform .3s var(--ease); } .nw-cta:hover span { transform: translateX(5px); }
.nw-cta:focus-visible { outline: 2px solid var(--turmeric); outline-offset: 3px; border-radius: 4px; }

/* =====================================================================
   REVIEW FORM
   ===================================================================== */
.rv-form { position: relative; max-width: 640px; margin: var(--sp-5) auto 0; border-radius: var(--radius-l); background: #fff; color: var(--ink);
  box-shadow: 0 26px 60px rgba(0,0,0,.4); overflow: hidden; }
.rv-form-main { padding: 1.8rem 1.7rem 1.5rem; display: flex; flex-direction: column; gap: .85rem; }
.rv-form h3 { margin: 0; font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); }
.rv-form-lead { margin: -.3rem 0 .2rem; color: var(--muted); font-size: var(--fs-small); }
.rv-form input[type="text"], .rv-form textarea { width: 100%; font: inherit; color: var(--ink); padding: .95rem 1.1rem; border-radius: 16px;
  border: 1.5px solid #E7DDC4; background: #FFFDF6; transition: border-color .25s, box-shadow .25s, background .25s; }
.rv-form textarea { resize: vertical; min-height: 120px; }
.rv-form input[type="text"]:focus, .rv-form textarea:focus { outline: none; border-color: var(--turmeric); background: #fff; box-shadow: 0 0 0 4px rgba(240,146,43,.18); }
.rv-hp { position: absolute !important; left: -9999px; }
.rv-pick { border: 0; margin: 0; padding: 0; display: flex; align-items: center; gap: .9rem; }
.rv-pick-stars { display: inline-flex; flex-direction: row-reverse; gap: .1rem; }
.rv-pick-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-pick-stars label { cursor: pointer; font-size: 2.2rem; line-height: 1; color: #E3D9BF; transition: color .2s, transform .25s var(--ease); }
.rv-pick-stars label:hover { transform: scale(1.25) rotate(-8deg); }
.rv-pick-stars input:checked ~ label, .rv-pick-stars label:hover, .rv-pick-stars label:hover ~ label { color: var(--turmeric); }
.rv-pick-stars:hover input:checked ~ label { color: var(--turmeric); }
.rv-pick-stars input:focus-visible + label { outline: 2px solid var(--turmeric); outline-offset: 2px; border-radius: 4px; }
.rv-pick-stars input:checked + label { animation: rvStarPop .45s var(--ease); }
@keyframes rvStarPop { 40% { transform: scale(1.35) rotate(-10deg); } }
.rv-pick-label { font-weight: 700; color: var(--brick); min-width: 6.5ch; }
.rv-err { margin: 0; padding: .6rem .9rem; border-radius: 12px; background: #FCE7E4; color: #9d2417; font-size: var(--fs-small); animation: rvShake .4s; }
@keyframes rvShake { 20%,60% { transform: translateX(-5px); } 40%,80% { transform: translateX(5px); } }
.rv-send { width: 100%; justify-content: center; padding-block: 1rem; }
.rv-send.is-busy { opacity: .7; pointer-events: none; }
.rv-fine { margin: 0; font-size: var(--fs-tiny); color: var(--muted); }
.btn--ghost-light { background: transparent; color: var(--ink); border: 1.5px solid #D9CDB0; }
.btn--ghost-light:hover { border-color: var(--turmeric); color: var(--brick); }

.rv-thanks { position: relative; padding: 2.6rem 1.7rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: .6rem; outline: none; }
.rv-thanks p { margin: 0 0 .6rem; color: var(--muted); max-width: 42ch; }
.rv-check { width: 76px; height: 76px; fill: none; stroke: var(--turmeric); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rv-check circle { stroke-dasharray: 145; stroke-dashoffset: 145; animation: rvDraw .7s var(--ease) forwards; }
.rv-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: rvDraw .5s var(--ease) .55s forwards; }
@keyframes rvDraw { to { stroke-dashoffset: 0; } }
.rv-burst { position: absolute; left: 50%; top: 4.6rem; width: 0; height: 0; pointer-events: none; }
.rv-burst span { position: absolute; left: 0; top: 0; color: var(--turmeric-2); font-size: 1.1rem; opacity: 0;
  animation: rvBurst 1.1s var(--ease) var(--t) forwards; }
@keyframes rvBurst { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(.5); } 100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--d)) scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  .nw-rule b, .nw-ping::after, .rv-pick-stars input:checked + label, .rv-err, .rv-check circle, .rv-check path, .rv-burst span { animation: none !important; }
  .rv-check circle, .rv-check path { stroke-dashoffset: 0; }
  .nw-rule i { width: 46px; transition: none; } .nw-card::before { transform: scaleX(1); transition: none; }
}


/* =====================================================================
   v3.3 — brand logo (left of the name), social icons, mobile circle menu
   ===================================================================== */

/* ---- brand: emblem on the left, name on the right ---- */
.rt-brand { flex-direction: row; align-items: center; gap: .75rem; }
.rt-logo { display: block; flex: none; width: 56px; height: 56px; border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(240,146,43,.4), 0 4px 14px rgba(0,0,0,.5); }
.rt-brand .rt-word { align-items: flex-start; }
.rt-brand .rt-sub { padding-left: 0; }
.rt-brand--foot .rt-logo { width: 68px; height: 68px; margin-bottom: 0; align-self: flex-start; }
.rt-brand--foot { align-items: center; }

/* ---- social icons inside the nav (Instagram / Facebook) ---- */
.nav-list .nav-social { display: flex; align-items: center; gap: .5rem; margin-left: .35rem; list-style: none; }
.nav-list .nav-social a { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%;
  color: #fff; box-shadow: 0 3px 10px rgba(0,0,0,.35); transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
.nav-list .nav-social a[data-social="instagram"] { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.nav-list .nav-social a[data-social="facebook"] { background: linear-gradient(145deg, #3b8bff 0%, #1877F2 55%, #0b57c4 100%); }
.nav-list .nav-social a:hover, .nav-list .nav-social a:focus-visible { color: #fff; transform: translateY(-2px) scale(1.08); box-shadow: 0 8px 18px rgba(0,0,0,.45); }
.nav-list .nav-social .ico { width: 18px; height: 18px; }
.nav-list .nav-social a[data-social="facebook"] .ico { fill: #fff; stroke: #fff; stroke-width: .4; }
.nav-list .nav-social a[data-social="instagram"] .ico { stroke-width: 1.8; }
@media (min-width: 901px) and (max-width: 1180px) { .nav-list .nav-social { display: none; } }   /* keep a tight desktop bar tidy; footer still has them */

/* ---- mobile: the ☰ menu opens a single row of round page buttons ---- */
@keyframes rtRingSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes rtCirclePop { from { opacity: 0; transform: translateY(-10px) scale(.4); } to { opacity: 1; transform: none; } }
@keyframes rtCirclePress { 0% { transform: scale(1); } 35% { transform: scale(.9); } 100% { transform: scale(1.06); } }

@media (max-width: 900px) {
  .rt-logo { width: 48px; height: 48px; }
  .topbar .nav-toggle { font-size: 1.5rem; line-height: 1; min-width: 44px; min-height: 44px; }

  .topbar .nav-list {
    flex-direction: row; flex-wrap: wrap; justify-content: center; align-content: flex-start;
    --nav-gap: clamp(.4rem, 2.2vw, .85rem); gap: var(--nav-gap); padding: 1.15rem var(--gutter) 1.25rem;
    background: #1a0e06;
    border-bottom: 1px solid rgba(240,146,43,.3); box-shadow: 0 22px 34px rgba(0,0,0,.5);
  }

  /* each page = one circle; the ring is a conic-gradient border that spins on tap */
  .topbar .nav-list li:not(.nav-social) { flex: 0 0 auto; }
  .topbar .nav-list li:not(.nav-social) a {
    position: relative; display: grid; place-items: center; box-sizing: border-box;
    width: min(78px, calc((100vw - 2 * var(--gutter) - 4 * var(--nav-gap)) / 5)); aspect-ratio: 1; padding: 2px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,.06); color: #fff; text-align: center; line-height: 1.1;
    font-size: clamp(.56rem, 2.6vw, .76rem); font-weight: 600; letter-spacing: .01em;
    -webkit-tap-highlight-color: transparent;
    transition: background .25s var(--ease), color .25s var(--ease);
  }
  .topbar .nav-list li:not(.nav-social) a::before {
    content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 2.5px; pointer-events: none;
    background: conic-gradient(from 0deg, var(--turmeric) 0%, #FFE0A3 22%, rgba(240,146,43,.18) 52%, var(--turmeric-2) 78%, var(--turmeric) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  }
  .topbar .nav-list li:not(.nav-social) a:hover { background: rgba(240,146,43,.16); color: #fff; }
  .topbar .nav-list li:not(.nav-social) a[aria-current="page"] { background: var(--turmeric); color: #1a0e06; border: 0; }
  .topbar .nav-list li:not(.nav-social) a.is-spinning { animation: rtCirclePress .65s var(--ease) both; }
  .topbar .nav-list li:not(.nav-social) a.is-spinning::before { animation: rtRingSpin .65s cubic-bezier(.45,0,.25,1) 1 both; }

  /* circles pop in one after another when the menu opens */
  .topbar .nav-list.open li { animation: rtCirclePop .5s cubic-bezier(.34,1.56,.64,1) both; }
  .topbar .nav-list.open li:nth-child(2) { animation-delay: .06s; }
  .topbar .nav-list.open li:nth-child(3) { animation-delay: .12s; }
  .topbar .nav-list.open li:nth-child(4) { animation-delay: .18s; }
  .topbar .nav-list.open li:nth-child(5) { animation-delay: .24s; }
  .topbar .nav-list.open li:nth-child(6) { animation-delay: .32s; }

  /* social icons sit on their own line under the circles */
  .nav-list .nav-social { flex: 0 0 100%; justify-content: center; gap: .9rem; margin: .7rem 0 0; }
  .nav-list .nav-social a { width: 42px; height: 42px; }
  .nav-list .nav-social .ico { width: 21px; height: 21px; }
}

/* narrow phones: the call button shrinks to a round icon so logo + name + ☰ always fit */
@media (max-width: 520px) {
  .topbar-inner { gap: .5rem; }
  .rt-logo { width: 44px; height: 44px; }
  .rt-brand { gap: .55rem; }
  .rt-the { font-size: 1.35rem; }
  .topbar .nav-call { padding: 0; width: 42px; height: 42px; justify-content: center; gap: 0; }
  .topbar .nav-call .nc-text { display: none; }
  .topbar .nav-call .nc-ico .ico { width: 20px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .topbar .nav-list.open li, .topbar .nav-list li a.is-spinning, .topbar .nav-list li a.is-spinning::before { animation: none !important; }
}
