/*
Theme Name: Ma Ke Gelato!
Theme URI: https://makegelato.it
Author: Ma Ke Gelato
Author URI: https://makegelato.it
Description: Tema one-page per gelateria artigianale: homepage a moduli (hero, storia, gusti con filtri, recensioni Google con rotazione, orari e contatti), completamente personalizzabile da Aspetto → Personalizza e con il post type «Gusti». Include il supporto al plugin «Ma Ke Gelato! – Recensioni Google».
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: make-gelato
Tags: one-column, custom-colors, custom-menu, custom-logo, translation-ready
*/

:root {
  --ink: #2b1712;
  --ink-2: #43251c;
  --ink-3: #5a3527;
  --cream: #fff6e9;
  --cream-2: #fff1dc;
  --pink: #e85d75;
  --pink-deep: #c24259;
  --pink-soft: #fbd9e2;
  --pist: #8fa865;
  --pist-deep: #5f7a3d;
  --pist-soft: #edf1dc;
  --lemon: #f9c74f;
  --mint: #9fd8c3;
  --caramel: #c68b4e;
  --font-d: "Lilita One", "Nunito Sans", sans-serif;
  --font-b: "Nunito Sans", "Segoe UI", sans-serif;
  --font-h: "Caveat", cursive;
  --shadow-card: 6px 6px 0 rgba(43, 23, 18, 0.1);
  --radius: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-b); background: var(--cream); color: var(--ink); font-size: 17px; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { background: var(--pink); color: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.sec { scroll-margin-top: 84px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, .display { font-family: var(--font-d); font-weight: 400; letter-spacing: 0.4px; line-height: 1.04; }
.hand { font-family: var(--font-h); }

.kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 12.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--pink-deep); }
.kicker::before { content: ""; width: 34px; height: 3px; border-radius: 3px; background: currentColor; }
.kicker.on-dark { color: var(--lemon); }
.sec-title { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 14px 0 12px; }
.sec-sub { max-width: 620px; font-size: 1.06rem; color: var(--ink-2); }
.on-dark .sec-sub, .sec-sub.on-dark { color: rgba(255, 246, 233, 0.78); }

.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-d); font-size: 1.02rem; letter-spacing: 0.5px; padding: 14px 28px; border-radius: 999px; text-decoration: none; border: 2.5px solid var(--ink); color: var(--cream); background: var(--ink); box-shadow: 0 5px 0 rgba(43, 23, 18, 0.35); transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease; }
.btn:hover { transform: translate(-2px, -3px); box-shadow: 0 9px 0 rgba(43, 23, 18, 0.3); }
.btn:active { transform: translateY(1px); box-shadow: 0 3px 0 rgba(43, 23, 18, 0.3); }
.btn--pink { background: var(--pink); border-color: var(--pink-deep); color: #fff; box-shadow: 0 5px 0 var(--pink-deep); }
.btn--pink:hover { box-shadow: 0 9px 0 var(--pink-deep); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: rgba(43, 23, 18, 0.06); box-shadow: none; transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.92rem; }

.promo-bar { background: var(--lemon); color: var(--ink); text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 0.03em; padding: 8px 16px; }

.topbar { background: var(--ink); color: var(--cream); font-size: 13px; padding: 8px 0; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 7px; opacity: 0.92; text-decoration: none; }
.topbar svg { flex: none; }
.topbar .open-dot { width: 8px; height: 8px; border-radius: 50%; background: #7ee08a; display: inline-block; animation: pulse-dot 2s infinite; }
.topbar .open-dot.closed { background: var(--pink); animation: none; }

.site-nav { position: sticky; top: 0; z-index: 60; background: rgba(43, 23, 18, 0.94); border-bottom: 3px solid var(--pink); transition: box-shadow 0.3s ease; }
.site-nav.scrolled { box-shadow: 0 10px 30px rgba(43, 23, 18, 0.35); }
.admin-bar .site-nav { top: 32px; }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand-mark { width: 46px; height: 46px; flex: none; transition: transform 0.3s ease; }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-name { font-family: var(--font-d); font-size: 1.35rem; line-height: 1; }
.brand-name em { font-style: normal; color: var(--pink); }
.brand-tag { display: block; font-family: var(--font-h); font-size: 0.95rem; color: var(--lemon); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a { position: relative; display: inline-block; text-decoration: none; color: var(--cream); font-weight: 700; font-size: 15px; padding: 9px 15px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { background: rgba(255, 246, 233, 0.12); }
.nav-links li.current-menu-item a, .nav-links a.active { color: var(--lemon); }
.nav-links li.current-menu-item a::after, .nav-links a.active::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--pink); }
.nav-links .btn { margin-left: 10px; }
.nav-links .btn:hover { background: var(--pink); }

.burger { display: none; background: none; border: none; color: var(--cream); padding: 6px; }

@media (max-width: 900px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--ink); padding: 14px 20px 20px; border-bottom: 3px solid var(--pink); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; font-size: 17px; }
  .nav-links .btn { margin: 10px 0 0; justify-content: center; }
  .burger { display: block; }
}

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(52rem 30rem at 88% -8%, rgba(232, 93, 117, 0.16), transparent 60%), radial-gradient(40rem 26rem at -10% 100%, rgba(143, 168, 101, 0.18), transparent 60%), var(--cream); padding: 64px 0 110px; }
.hero .wrap { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 48px; align-items: center; }
.hero-kicker { margin-bottom: 22px; }
.hero-title { font-size: clamp(3.1rem, 8.4vw, 6.4rem); line-height: 0.98; }
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span { display: inline-block; transform: translateY(112%); animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
.hero-title .accent { color: var(--pink-deep); }
.hero-title .squig { display: block; margin-top: 2px; }
.hero-title .squig path { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s 0.9s ease forwards; }
.hero-title .green { color: var(--pist-deep); }
.hero-lead { margin: 26px 0 32px; max-width: 520px; font-size: 1.14rem; color: var(--ink-2); }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: 13.5px; box-shadow: 3px 3px 0 rgba(43, 23, 18, 0.12); transition: transform 0.2s ease; }
.hero-badge:hover { transform: translateY(-3px) rotate(-1deg); }
.hero-badge svg { color: var(--pist-deep); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-arch { width: min(430px, 84%); aspect-ratio: 4 / 5.05; overflow: hidden; border-radius: 999px 999px 26px 26px; border: 4px solid var(--ink); box-shadow: 12px 14px 0 rgba(43, 23, 18, 0.14); background: var(--pink-soft); }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; animation: breathe 9s ease-in-out infinite alternate; }
.stamp { position: absolute; top: -40px; right: -10px; width: 100px; height: 100px; animation: spin 20s linear infinite; filter: drop-shadow(3px 4px 0 rgba(43, 23, 18, 0.15)); }
.stamp text { font-family: var(--font-d); font-size: 15.2px; letter-spacing: 2.6px; fill: var(--cream); }
.hero-note { position: absolute; bottom: 6px; left: -30px; font-family: var(--font-h); font-size: 1.55rem; color: var(--pink-deep); transform: rotate(-6deg); max-width: 230px; line-height: 1.15; text-align: center; }

.sprinkles { position: absolute; inset: 0; pointer-events: none; }
.sprinkle { position: absolute; width: 10px; height: 26px; border-radius: 8px; opacity: 0.5; animation: floaty 7s ease-in-out infinite; }

@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, 20deg)); } 50% { transform: translateY(-14px) rotate(calc(var(--r, 20deg) + 10deg)); } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.07); } }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(126, 224, 138, 0.55); } 60% { box-shadow: 0 0 0 7px rgba(126, 224, 138, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(0.96); } }
@keyframes progress { to { width: 100%; } }

.marquee-band { position: relative; z-index: 5; margin-top: -46px; transform: rotate(-1.4deg) scale(1.02); }
.marquee { background: var(--lemon); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); overflow: hidden; padding: 13px 0; box-shadow: 0 12px 30px rgba(43, 23, 18, 0.18); }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 34px; white-space: nowrap; font-family: var(--font-d); font-size: 1.28rem; letter-spacing: 0.8px; color: var(--ink); }
.marquee i { width: 13px; height: 13px; border-radius: 50%; background: var(--pink); flex: none; }
.marquee i:nth-of-type(even) { background: var(--pist-deep); }

.sec { position: relative; padding: 96px 0 110px; }
.sec--pist { background: var(--pist-soft); }
.sec--cream { background: var(--cream); }
.sec--ink { background: var(--ink); color: var(--cream); }
.sec--pink { background: var(--pink-soft); }
.drip { position: absolute; top: -1px; left: 0; width: 100%; height: 64px; display: block; pointer-events: none; }
.drip svg { width: 100%; height: 100%; display: block; }
.drip--tall { height: 78px; }

.rv { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.rv-l { transform: translateX(0px); }
.rv-r { transform: translateX(0px); }
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }

/* story */
.story-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.story-media { position: relative; }
.story-img { border-radius: var(--radius) 120px var(--radius) var(--radius); border: 4px solid var(--ink); box-shadow: 10px 12px 0 rgba(43, 23, 18, 0.12); overflow: hidden; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.story-img:hover img { transform: scale(1.05); }
.story-chip { position: absolute; bottom: -22px; right: -14px; background: var(--pink); color: #fff; border: 3px solid var(--ink); border-radius: 16px; padding: 12px 20px; transform: rotate(3deg); font-family: var(--font-d); font-size: 1rem; box-shadow: 5px 6px 0 rgba(43, 23, 18, 0.18); }
.story-list { list-style: none; margin: 26px 0 0; display: grid; gap: 14px; }
.story-list li { display: flex; gap: 14px; align-items: flex-start; }
.story-list .ic { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #fff; border: 2.5px solid var(--ink); color: var(--pist-deep); transition: transform 0.25s ease; }
.story-list li:hover .ic { transform: rotate(-8deg) scale(1.08); background: var(--lemon); color: var(--ink); }
.story-list b { display: block; font-size: 1.02rem; }
.story-list p { font-size: 0.95rem; color: var(--ink-2); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 64px; }
.step { position: relative; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 28px 26px 26px; box-shadow: var(--shadow-card); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.step:hover { transform: translateY(-6px) rotate(-0.8deg); box-shadow: 8px 12px 0 rgba(43, 23, 18, 0.13); }
.step-n { font-family: var(--font-d); font-size: 2.6rem; color: var(--pink); line-height: 1; }
.step:nth-child(2) .step-n { color: var(--pist); }
.step:nth-child(3) .step-n { color: var(--caramel); }
.step h3 { font-size: 1.45rem; margin: 10px 0 8px; }
.step p { font-size: 0.96rem; color: var(--ink-2); }
.step::after { content: "→"; position: absolute; top: 50%; right: -26px; transform: translateY(-50%); font-family: var(--font-d); font-size: 1.6rem; color: var(--pink-deep); }
.step:last-child::after { content: none; }

.stats { margin-top: 64px; background: var(--ink); color: var(--cream); border-radius: var(--radius); display: grid; grid-template-columns: repeat(4, 1fr); box-shadow: 8px 10px 0 rgba(43, 23, 18, 0.12); }
.stat { padding: 30px 22px; text-align: center; border-right: 2px dashed rgba(255, 246, 233, 0.22); }
.stat:last-child { border-right: none; }
.stat b { font-family: var(--font-d); font-size: 2.3rem; display: block; line-height: 1; }
.stat:nth-child(1) b { color: var(--pink); } .stat:nth-child(2) b { color: var(--lemon); }
.stat:nth-child(3) b { color: var(--pist); } .stat:nth-child(4) b { color: var(--mint); }
.stat span { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }

/* flavors */
.chips { display: flex; gap: 9px; flex-wrap: wrap; margin: 30px 0 38px; }
.chip { border: 2.5px solid var(--ink); background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 20px; font-weight: 800; font-size: 14px; transition: all 0.2s ease; display: inline-flex; gap: 8px; align-items: center; }
.chip em { font-style: normal; font-size: 12px; background: rgba(43, 23, 18, 0.08); border-radius: 99px; padding: 1px 8px; }
.chip:hover { transform: translateY(-2px); box-shadow: 3px 4px 0 rgba(43, 23, 18, 0.14); }
.chip.on { background: var(--ink); color: var(--cream); }
.chip.on em { background: rgba(255, 246, 233, 0.18); }
.flavors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.flavor { background: #fffdf8; border: 2.5px solid var(--ink); border-radius: var(--radius); padding: 26px 20px 22px; text-align: center; position: relative; box-shadow: var(--shadow-card); transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.3s ease; animation: pop-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.flavor:hover { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 9px 13px 0 rgba(43, 23, 18, 0.13); }
.flavor.is-hidden { display: none; }
.flavor-photo { width: 88px; height: 74px; margin: 0 auto 14px; border-radius: 50%; overflow: hidden; border: 2.5px solid var(--ink); transition: transform 0.3s ease; background: var(--cream-2); display: grid; place-items: center; }
.flavor:hover .flavor-photo { transform: scale(1.1) rotate(4deg); }
.flavor-photo img { width: 100%; height: 100%; object-fit: cover; }
.flavor h3 { font-size: 1.28rem; margin-bottom: 6px; }
.flavor p { font-size: 0.88rem; color: var(--ink-2); min-height: 42px; }
.flavor-tags { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.tag { font-size: 11px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; border-radius: 99px; padding: 3px 11px; border: 1.8px solid var(--ink); }
.tag--vegan { background: var(--pist-soft); color: var(--pist-deep); }
.tag--sl { background: #e6f4fb; color: #2273a3; }
.tag--new { background: var(--pink); color: #fff; border-color: var(--pink-deep); }
.tag--top { background: var(--lemon); color: var(--ink); }
.tag--sg { background: var(--cream-2); color: var(--caramel); }
.flavors-note { margin-top: 36px; text-align: center; font-family: var(--font-h); font-size: 1.5rem; color: var(--pist-deep); }

/* reviews */
.reviews-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.rating-big { font-family: var(--font-d); font-size: clamp(4.4rem, 9vw, 7rem); line-height: 1; color: var(--lemon); }
.stars { display: inline-flex; gap: 4px; color: var(--lemon); }
.star-off { opacity: 0.22; }
.rating-meta { margin-top: 10px; font-weight: 700; color: rgba(255, 246, 233, 0.85); }
.google-pill { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--ink); border-radius: 999px; padding: 9px 20px 9px 12px; font-weight: 800; font-size: 14px; text-decoration: none; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.google-pill:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); }
.rev-stage { position: relative; min-height: 290px; }
.rev-card { position: absolute; inset: 0; background: var(--cream); color: var(--ink); border: 3px solid var(--ink-2); border-radius: var(--radius); padding: 34px 34px 28px; box-shadow: 10px 12px 0 rgba(0, 0, 0, 0.28); opacity: 0; transform: translateX(46px) rotate(1.5deg); pointer-events: none; transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1); display: flex; flex-direction: column; }
.rev-card.active { opacity: 1; transform: none; pointer-events: auto; }
.rev-card.prev { transform: translateX(-46px) rotate(-1.5deg); }
.rev-quote { position: absolute; top: -18px; left: 26px; color: var(--pink); }
.rev-text { font-size: 1.08rem; font-weight: 600; flex: 1; margin: 12px 0 0; }
.rev-author { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.rev-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-d); font-size: 1.2rem; color: #fff; flex: none; overflow: hidden; }
.rev-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rev-author b { display: block; line-height: 1.2; }
.rev-author span { font-size: 0.84rem; color: var(--ink-2); }
.rev-controls { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.rev-btn { width: 46px; height: 46px; border-radius: 50%; border: 2.5px solid var(--cream); background: transparent; color: var(--cream); display: grid; place-items: center; transition: all 0.2s ease; }
.rev-btn:hover { background: var(--pink); border-color: var(--pink); transform: scale(1.08); }
.rev-dots { display: flex; gap: 8px; }
.rev-dot { width: 10px; height: 10px; border-radius: 99px; border: none; background: rgba(255, 246, 233, 0.35); padding: 0; transition: all 0.3s ease; }
.rev-dot.on { width: 28px; background: var(--lemon); }
.plugin-note { margin-top: 56px; border: 2px dashed rgba(255, 246, 233, 0.4); border-radius: var(--radius); padding: 20px 26px; display: flex; gap: 16px; align-items: flex-start; font-size: 0.94rem; color: rgba(255, 246, 233, 0.85); }
.plugin-note b { color: var(--lemon); }
.plugin-note code { background: rgba(0, 0, 0, 0.3); padding: 2px 8px; border-radius: 6px; font-size: 0.86em; color: var(--mint); }

/* visit */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; margin-top: 44px; }
.visit-card { background: #fff; border: 3px solid var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-card); }
.visit-card h3 { font-size: 1.7rem; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.hours { width: 100%; border-collapse: collapse; }
.hours tr { border-bottom: 2px dashed rgba(43, 23, 18, 0.14); }
.hours td { padding: 10px 4px; font-weight: 600; }
.hours td:last-child { text-align: right; font-family: var(--font-d); letter-spacing: 0.5px; }
.hours tr.today td { color: var(--pink-deep); }
.hours .closed-v { color: var(--pink-deep); font-family: var(--font-b); font-weight: 800; font-size: 0.9rem; }
.open-now { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: 13.5px; }
.open-now.yes { background: #e3f6e5; color: #1e7d34; border: 2px solid #1e7d34; }
.open-now.no { background: var(--pink-soft); color: var(--pink-deep); border: 2px solid var(--pink-deep); }
.open-now .dot { width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 2px dashed rgba(43, 23, 18, 0.14); text-decoration: none; transition: transform 0.2s ease; }
.contact-line:hover { transform: translateX(5px); }
.contact-line .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 2.5px solid var(--ink); flex: none; background: var(--pist-soft); color: var(--pist-deep); }
.contact-line.alt .ic { background: var(--pink-soft); color: var(--pink-deep); }
.contact-line.alt2 .ic { background: #efe9fb; color: #6b4fa3; }
.contact-line b { display: block; line-height: 1.25; }
.contact-line span { font-size: 0.85rem; color: var(--ink-2); }
.visit-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.visit-media { position: relative; margin-top: 44px; }
.visit-media .frame { border-radius: var(--radius); overflow: hidden; border: 4px solid var(--ink); box-shadow: 12px 14px 0 rgba(43, 23, 18, 0.14); }
.visit-media img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.9s ease; }
.visit-media:hover img { transform: scale(1.05); }
.visit-pin { position: absolute; top: 34%; left: 52%; transform: translate(-50%, -100%); animation: bounce-pin 2.2s ease-in-out infinite; }
@keyframes bounce-pin { 0%, 100% { transform: translate(-50%, -100%); } 50% { transform: translate(-50%, -118%); } }
.visit-hand { position: absolute; bottom: -26px; right: 10px; transform: rotate(-3deg); background: var(--lemon); border: 3px solid var(--ink); border-radius: 14px; padding: 10px 20px; font-family: var(--font-h); font-size: 1.45rem; color: var(--ink); box-shadow: 4px 5px 0 rgba(43, 23, 18, 0.16); max-width: 340px; line-height: 1.15; }

/* footer */
.site-footer { background: var(--ink); color: var(--cream); padding: 96px 0 30px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; }
.footer-brand p { margin-top: 14px; color: rgba(255, 246, 233, 0.72); max-width: 340px; font-size: 0.96rem; }
.site-footer h4 { font-family: var(--font-d); font-weight: 400; font-size: 1.15rem; color: var(--lemon); margin-bottom: 14px; letter-spacing: 0.6px; }
.footer-list { list-style: none; display: grid; gap: 9px; font-size: 0.95rem; }
.footer-list a { text-decoration: none; color: rgba(255, 246, 233, 0.8); transition: color 0.2s, padding-left 0.2s; }
.footer-list a:hover { color: var(--pink); padding-left: 5px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 2px dashed rgba(255, 246, 233, 0.22); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.83rem; color: rgba(255, 246, 233, 0.6); }

@media (max-width: 1020px) {
  .flavors-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 2px dashed rgba(255, 246, 233, 0.22); }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }
}
@media (max-width: 900px) {
  .hero { padding: 44px 0 96px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 10px; }
  .hero-arch { width: min(340px, 80%); }
  .hero-note { left: 0; }
  .story-grid, .reviews-grid, .visit-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: 1fr; }
  .step::after { content: none; }
  .rev-stage { min-height: 340px; }
  .flavors-grid { grid-template-columns: repeat(2, 1fr); }
  .sec { padding: 76px 0 88px; }
}
@media (max-width: 560px) {
  .flavors-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .flavor { padding: 20px 12px 18px; }
  .rev-card { padding: 28px 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee-track { animation: none; }
  .hero-title .line > span { transform: none; animation: none; }
  .hero-title .squig path { stroke-dashoffset: 0; animation: none; }
  .rv, .rv-l, .rv-r { opacity: 1; transform: none; }
  .stamp, .hero-arch img, .visit-pin { animation: none; } }
