/* ═══════════════════════════════════════════════════
   KAZE 風 — Izakaya Contemporanea
   Dark Japanese contemporary with red & gold accents
   ═══════════════════════════════════════════════════ */

:root {
  --bg: #0a0a0a;
  --bg-elevated: #121212;
  --bg-card: #161616;
  --accent: #c41e2a;
  --accent-light: #e03040;
  --gold: #d4a843;
  --gold-light: #e8c468;
  --text: #f5f0e8;
  --text-muted: #a09888;
  --text-dim: #5a5248;
  --red-gradient: linear-gradient(135deg, #c41e2a 0%, #e03040 50%, #c41e2a 100%);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --font-display: 'Noto Serif JP', 'Georgia', serif;
  --font-body: 'Zen Kaku Gothic New', sans-serif;
  --font-ui: 'DM Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 60px); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }

/* --- TYPOGRAPHY --- */
.section-label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.8;
}

.section-header { text-align: center; margin-bottom: clamp(48px, 6vw, 80px); }
.section-header .section-desc { margin: 0 auto; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 0;
  transition: all 0.35s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-red {
  background: var(--red-gradient);
  color: #fff;
  font-weight: 600;
}
.btn-red:hover { box-shadow: 0 8px 32px rgba(196, 30, 42, 0.35); }

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--bg); }

.btn-sm { padding: 10px 22px; font-size: 0.7rem; }

/* --- LOADER --- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s var(--ease-out-expo), visibility 0.7s;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-kanji {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  display: block;
  margin-bottom: 12px;
  animation: kanji-breathe 1.5s ease-in-out infinite alternate;
}
@keyframes kanji-breathe {
  0% { opacity: 0.6; transform: scale(0.97); }
  100% { opacity: 1; transform: scale(1); }
}
.loader-name {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 24px;
}
.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  margin: 0 auto;
  overflow: hidden;
}
.loader-fill {
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform-origin: left;
  animation: loaderFill 1.2s var(--ease-out-expo) forwards;
}
@keyframes loaderFill {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s var(--ease-out-expo);
}
.header.scrolled {
  background: rgba(10,10,10,0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(196,30,42,0.12);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-kanji {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red-gradient);
  padding: 9px 22px;
  transition: box-shadow 0.3s;
}
.nav-cta:hover { box-shadow: 0 4px 20px rgba(196,30,42,0.4); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 28px; }
.menu-toggle span {
  display: block; height: 1.5px; background: var(--text);
  transition: all 0.4s var(--ease-out-expo); transform-origin: center;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

@media (max-width: 960px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: 0;
    width: min(380px, 85vw); height: 100vh;
    background: var(--bg-elevated);
    flex-direction: column; align-items: flex-start; justify-content: center;
    padding: 60px 48px; gap: 22px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
    box-shadow: -20px 0 60px rgba(0,0,0,0.6);
  }
  .nav.open { transform: translateX(0); }
  .nav-link { font-size: 1.15rem; }
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(10,10,10,0.85) 0%,
    rgba(10,10,10,0.5) 40%,
    rgba(10,10,10,0.7) 70%,
    rgba(10,10,10,0.95) 100%
  );
}
.hero-grain {
  position: absolute; inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* Vertical text decorations */
.hero-vertical {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  writing-mode: vertical-rl;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.5em;
  color: rgba(196,30,42,0.15);
  font-weight: 700;
}
.hero-vertical-left { left: clamp(12px, 3vw, 40px); }
.hero-vertical-right { right: clamp(12px, 3vw, 40px); }

.hero-content {
  position: relative; z-index: 4;
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(60px, 8vw, 120px);
  padding-top: 100px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}
.hero-badge span:not(.hero-badge-line) {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-badge-line {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}

.hero-title { margin-bottom: 28px; }
.hero-title-kanji {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 80px rgba(196,30,42,0.2);
}
.hero-title-main {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.1;
}
.hero-title-sub {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.8vw, 1.15rem);
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 12px;
  letter-spacing: 0.08em;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
}
.scroll-dot {
  width: 8px; height: 8px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.3; }
}
.hero-scroll span {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- JP DIVIDER --- */
.jp-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 20px 0;
}
.jp-divider-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.jp-divider-kanji {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0.4;
}

/* --- FILOSOFIA --- */
.filosofia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.filosofia-images {
  position: relative;
  height: 580px;
}
.filosofia-img {
  overflow: hidden;
}
.filosofia-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.filosofia-img:hover img { transform: scale(1.04); }

.filosofia-img-main {
  position: absolute;
  top: 0; right: 0;
  width: 70%; height: 80%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.filosofia-img-float {
  position: absolute;
  bottom: 0; left: 0;
  width: 50%; height: 50%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.filosofia-principles {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 36px;
}
.principle {
  display: flex;
  align-items: center;
  gap: 20px;
}
.principle-kanji {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  width: 52px;
  text-align: center;
}
.principle strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 2px;
}
.principle p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .filosofia-grid { grid-template-columns: 1fr; }
  .filosofia-images { height: 380px; }
}

/* --- ESPECIALIDADES 3D CARDS --- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.spec-card {
  height: 480px;
  perspective: 1200px;
  display: block;
}
.spec-card-scene {
  position: relative;
  width: 100%; height: 100%;
  transition: transform 0.7s var(--ease-out-expo);
  transform-style: preserve-3d;
}
.spec-card:hover .spec-card-scene { transform: rotateY(180deg); }

.spec-card-face {
  position: absolute; inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.spec-card-front {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  box-shadow:
    0 0 0 1px rgba(196,30,42,0.06),
    0 4px 16px rgba(0,0,0,0.3),
    0 12px 40px rgba(0,0,0,0.2);
}
.spec-card-img { flex: 1; overflow: hidden; }
.spec-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.spec-card:hover .spec-card-img img { transform: scale(1.1); }

.spec-card-info {
  padding: 20px 24px 24px;
  position: relative;
}
.spec-card-kanji {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--accent);
  opacity: 0.7;
  display: block;
  margin-bottom: 4px;
}
.spec-card-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.spec-card-info p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.spec-card-back {
  background: var(--bg-card);
  transform: rotateY(180deg);
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow:
    0 0 0 1px rgba(196,30,42,0.1),
    0 4px 16px rgba(0,0,0,0.3);
}
.spec-card-kanji-lg {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--accent);
  opacity: 0.15;
}
.spec-card-back h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
}
.spec-card-back p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.spec-card-cta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 8px 24px;
  margin-top: 8px;
  transition: all 0.3s;
}
.spec-card:hover .spec-card-cta {
  background: var(--accent);
  color: #fff;
}

/* --- MENU SECTION --- */
.menu-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.menu-left { position: sticky; top: 140px; }
.menu-img-feature {
  margin-top: 28px;
  overflow: hidden;
}
.menu-img-feature img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.menu-img-feature:hover img { transform: scale(1.04); }

.menu-category { margin-bottom: 36px; }
.menu-cat-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(196,30,42,0.15);
  margin-bottom: 8px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: all 0.35s var(--ease-out-expo);
}
.menu-item:hover { padding-left: 10px; }
.menu-item h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  transition: color 0.3s;
}
.menu-item:hover h4 { color: var(--gold); }
.menu-item p {
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.5;
}
.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .menu-layout { grid-template-columns: 1fr; }
  .menu-left { position: static; }
}

/* --- SAKE SECTION --- */
.sake-section {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.sake-bg {
  position: absolute; inset: -20% 0;
}
.sake-bg img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.sake-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,10,10,0.7) 50%, rgba(10,10,10,0.9) 100%);
}
.sake-content { position: relative; z-index: 2; max-width: 640px; }
.sake-stats {
  display: flex; gap: 44px; margin: 36px 0;
}
.sake-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.sake-stat-label {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* --- GALERIA MOSAIC --- */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 10px;
}
.gallery-item {
  overflow: hidden;
  position: relative;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo), filter 0.4s;
}
.gallery-item:hover img {
  transform: scale(1.06);
  filter: brightness(1.1);
}
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }

@media (max-width: 640px) {
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 1; }
}

/* --- OMAKASE SECTION --- */
.omakase-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.omakase-img {
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.omakase-img img {
  width: 100%; height: 450px; object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}
.omakase-img:hover img { transform: scale(1.04); }

.omakase-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0;
}
.omakase-detail {
  padding: 16px;
  background: var(--bg-elevated);
  border-left: 2px solid var(--accent);
}
.omakase-detail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
}
.omakase-detail p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .omakase-grid { grid-template-columns: 1fr; }
  .omakase-details { grid-template-columns: 1fr; }
}

/* --- TESTIMONIALS --- */
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--bg-card);
  padding: 32px 28px;
  box-shadow:
    0 0 0 1px rgba(196,30,42,0.05),
    0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(196,30,42,0.1), 0 12px 40px rgba(0,0,0,0.3);
}
.testimonial-rating {
  display: flex; gap: 2px; margin-bottom: 16px;
}
.testimonial-rating svg { width: 14px; height: 14px; color: var(--gold); }
.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
}
.testimonial-author span {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* --- LOCALIZACAO --- */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.loc-items { margin-top: 28px; }
.loc-item { margin-bottom: 24px; }
.loc-item h4 {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.loc-item p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

.map-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.map-frame img { width: 100%; height: 100%; object-fit: cover; }
.map-hover {
  position: absolute; inset: 0;
  background: rgba(10,10,10,0.6);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s;
}
.map-frame:hover .map-hover { opacity: 1; }
.map-hover span {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 9px 22px;
}

@media (max-width: 768px) { .loc-grid { grid-template-columns: 1fr; } }

/* --- CTA --- */
.cta-section { padding: clamp(40px, 8vw, 80px) 0; }
.cta-box {
  position: relative;
  background: var(--bg-card);
  padding: clamp(48px, 8vw, 80px);
  text-align: center;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(196,30,42,0.08), 0 20px 60px rgba(0,0,0,0.3);
}
.cta-pattern {
  position: absolute; inset: 0;
  opacity: 0.02;
  background-image:
    repeating-linear-gradient(0deg, var(--accent) 0px, var(--accent) 1px, transparent 1px, transparent 40px),
    repeating-linear-gradient(90deg, var(--accent) 0px, var(--accent) 1px, transparent 1px, transparent 40px);
}
.cta-kanji {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.04;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.cta-box .section-label,
.cta-box .section-desc { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  position: relative; z-index: 1;
}
.cta-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* --- FOOTER --- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(196,30,42,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand p {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-dim);
  max-width: 260px;
  line-height: 1.7;
}
.footer-links h4,
.footer-social h4 {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.footer-links a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 4px 0;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--text); }

.social-icons { display: flex; gap: 14px; }
.social-icons a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(196,30,42,0.15);
  border-radius: 50%;
  transition: all 0.3s var(--ease-out-expo);
}
.social-icons a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.social-icons svg { width: 17px; height: 17px; }

.footer-bottom {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid rgba(196,30,42,0.06);
  text-align: center;
}
.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- WHATSAPP --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 900;
  width: 54px; height: 54px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); }
.whatsapp-float:active { transform: scale(0.97); }
.whatsapp-float svg { width: 26px; height: 26px; color: #fff; }

/* --- THEME PANEL --- */
.theme-panel { position: fixed; bottom: 28px; left: 28px; z-index: 900; }
.theme-toggle {
  width: 42px; height: 42px;
  background: var(--bg-card);
  border: 1px solid rgba(196,30,42,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease-out-expo);
}
.theme-toggle:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.theme-toggle svg { width: 17px; height: 17px; }

.theme-dropdown {
  position: absolute; bottom: 54px; left: 0;
  background: var(--bg-elevated);
  border: 1px solid rgba(196,30,42,0.1);
  border-radius: 8px;
  padding: 18px;
  min-width: 230px;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all 0.35s var(--ease-out-expo);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.theme-dropdown.open { opacity: 1; visibility: visible; transform: translateY(0); }
.theme-dropdown h4 {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.theme-dropdown h5 {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 14px 0 8px;
}

.theme-presets { display: flex; gap: 7px; }
.theme-preset {
  display: flex; gap: 2px; padding: 5px;
  border: 1px solid rgba(196,30,42,0.1);
  border-radius: 6px;
  transition: border-color 0.3s;
}
.theme-preset:hover,
.theme-preset.active { border-color: var(--accent); }
.theme-preset span { display: block; width: 14px; height: 14px; border-radius: 50%; }

.color-row {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px;
}
.color-row label { font-family: var(--font-ui); font-size: 0.72rem; color: var(--text-muted); }
.color-row input[type="color"] {
  width: 30px; height: 22px;
  border: 1px solid rgba(196,30,42,0.15);
  border-radius: 4px;
  background: none; cursor: pointer; padding: 0;
}
.theme-custom .btn { margin-top: 8px; width: 100%; }

/* --- ANIMATIONS --- */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: opacity 0.7s var(--ease-out-expo),
              transform 0.7s var(--ease-out-expo),
              filter 0.7s var(--ease-out-expo);
  transition-delay: var(--d, 0s);
}
.reveal-up.visible {
  opacity: 1; transform: translateY(0); filter: blur(0);
}

.clip-reveal-horizontal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s cubic-bezier(0.77, 0, 0.175, 1);
  transition-delay: var(--d, 0s);
  will-change: clip-path;
}
.clip-reveal-horizontal.visible {
  clip-path: inset(0 0% 0 0);
}

.stagger {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(3px);
  transition: opacity 0.5s var(--ease-out-expo),
              transform 0.5s var(--ease-out-expo),
              filter 0.5s var(--ease-out-expo);
  transition-delay: calc(var(--i, 0) * 0.08s);
}
.stagger.visible {
  opacity: 1; transform: translateY(0); filter: blur(0);
}

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up, .clip-reveal-horizontal, .stagger {
    opacity: 1; transform: none; filter: none; clip-path: none;
  }
  .hero-bg img { transform: none; }
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(196,30,42,0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(196,30,42,0.35); }

::selection { background: rgba(196,30,42,0.3); color: var(--text); }
