/* ═══════════════════════════════════════════════════
   NH REPUESTOS — style.css  (v3 — no white, gray/red/black)
   Breakpoints: 360 | 480 | 768 | 1024
═══════════════════════════════════════════════════ */

/* ─── VARIABLES ──────────────────────────────────── */
:root {
  --black:      #080808;
  --dark:       #111111;
  --dark2:      #181818;
  --gray-dark:  #1e1e1e;
  --gray-mid:   #2a2a2a;
  --gray-brd:   #333333;
  --gray-muted: #666666;
  --red:        #d10000;
  --red2:       #ff2020;
  --text:       #cccccc;   /* main text — no white */
  --text-dim:   #888888;
  --text-on-red:#1a1a1a;   /* text ON red backgrounds */
  --wip-light:  #d0d0d0;   /* top half of WIP section */
}

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--text);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
  min-height: 100dvh;
}
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track  { background: var(--black); }
::-webkit-scrollbar-thumb  { background: var(--red); }

/* ═══════════════════════════════════════════════════
   NAV — tall, two-column, no separate band
═══════════════════════════════════════════════════ */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--gray-brd);
}

header::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
}

nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(40px, 8vw, 110px);
  min-height: 120px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
}

/* ── Left: logo + name ─── */
.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 12px 0;
  flex-shrink: 0;
}

.nav-left img {
  height: 100px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.nav-info {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 5px;
}

.nav-name {
  font-family: 'Russo One', sans-serif;
  font-size: 3rem;
  letter-spacing: 0.12em;
  color: var(--red);
  display: block;
}

.nav-tagline {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(0.55rem, 1.2vw, 0.7rem);
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gray-muted);
  display: block;
}

/* ── Right: category pills ─── */
.nav-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 12px 0;
}

.nav-cat-row {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-cat-item {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(0.6rem, 1.2vw, 0.72rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--text-on-red);   /* dark text on red */
  padding: 7px clamp(10px, 2vw, 18px);
  white-space: nowrap;
  display: inline-block;
}

.nav-cat-sep {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.6rem;
  color: var(--text-on-red);
  background: var(--red);
  padding: 7px 4px;
  display: inline-block;
  opacity: 0.6;
}

/* ═══════════════════════════════════════════════════
   HERO — no big title, horizontal bands
═══════════════════════════════════════════════════ */
#hero {
  min-height: calc(100svh - 120px);
  margin-top: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(8,8,8,0.86) 0%, rgba(8,8,8,0.80) 100%),
    url('https://images.unsplash.com/photo-1494976388531-d1058494cdd8?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center right;
}

/* subtle grid */
#hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(209,0,0,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(209,0,0,0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}

/* glow */
#hero::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw; height: 70vw;
  max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(209,0,0,0.055) 0%, transparent 65%);
  pointer-events: none;
}

/* logo watermark */
.hero-logo-bg {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(260px, 50vw, 600px);
  opacity: 0.04;
  pointer-events: none;
  z-index: 1;
  filter: grayscale(1) brightness(2);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 6vw, 80px);
  gap: 0;
  text-align: center;
}

/* ── Location strip ─── */
.hero-location {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(1rem, 2.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.28em;
  color: #cccccc;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: clamp(14px, 2.5vw, 20px) 0;
  width: 100%;
  border-bottom: 1px solid var(--gray-brd);
  margin-bottom: clamp(20px, 3vw, 30px);
  opacity: 0;
  animation: fadeUp 0.7s 0.1s ease forwards;
}

.hero-location svg {
  width: 20px; height: 20px;
  fill: var(--red);
  flex-shrink: 0;
}

.hero-location .loc-sep { color: #888888; }

/* ── Brand pills ─── */
.brand-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: clamp(24px, 3vw, 36px);
  list-style: none;
  padding: 0;
  opacity: 0;
  animation: fadeUp 0.8s 0.25s ease forwards;
}

.pill {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(0.85rem, 2vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 1px solid var(--gray-brd);
  color: var(--text-dim);
  /* NO hover effect */
}

/* ── Subtitle ─── */
.hero-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(0.85rem, 2.5vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: clamp(28px, 4vw, 44px);
  opacity: 0;
  animation: fadeUp 0.8s 0.4s ease forwards;
}

/* ── CTAs ─── */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.8s 0.55s ease forwards;
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 0.6s 1s ease forwards;
}

.scroll-line { width: 36px; height: 1px; background: var(--gray-brd); }

.scroll-hint span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  color: var(--gray-brd);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn-primary,
.btn-outline {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(0.68rem, 1.8vw, 0.76rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px clamp(18px, 3vw, 32px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 0 100%);
  transition: transform 0.15s, background 0.18s, color 0.18s, border-color 0.18s;
}

.btn-primary {
  background: var(--red);
  color: var(--text-on-red);   /* dark text on red button */
  border: 1px solid transparent;
  font-weight: 700;
}

.btn-primary:hover { background: var(--red2); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--gray-brd);
}

.btn-outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════════
   WIP SECTION — split design
═══════════════════════════════════════════════════ */
#wip {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-top: 1px solid var(--gray-brd);
  border-bottom: 1px solid var(--gray-brd);
}

/* ── TOP: dark (unified with bottom) ─── */
.wip-top {
  background: #0a0a0a;
  padding: clamp(40px, 7vw, 70px) clamp(20px, 8vw, 80px) 0;
  text-align: center;
  position: relative;
}

.wip-top::after { display: none; }

/* diagonal stripe on top */
.wip-top::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent, transparent 30px,
    rgba(255,255,255,0.015) 30px, rgba(255,255,255,0.015) 31px
  );
  pointer-events: none;
}

.wip-title {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(1.4rem, 4vw, 4rem);
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: #6a6a6a;
  white-space: nowrap;
  position: relative;
  z-index: 2;
}

/* ── BOTTOM half: dark (unified) ─── */
.wip-bottom {
  background: #0a0a0a;
  padding: clamp(20px, 3vw, 32px) clamp(20px, 8vw, 80px) clamp(40px, 6vw, 64px);
  text-align: center;
  position: relative;
}

/* kanji watermark in bottom */
.wip-kanji {
  position: absolute;
  font-size: clamp(100px, 24vw, 260px);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(209,0,0,0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.wip-desc {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(0.9rem, 2.2vw, 1.1rem);
  font-weight: 300;
  color: var(--text-dim);      /* gray, no white */
  letter-spacing: 0.07em;
  line-height: 1.9;
  margin-bottom: clamp(28px, 4vw, 44px);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative; z-index: 2;
}

.wip-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer#footer {
  background: var(--black);
  border-top: 1px solid var(--gray-brd);
  padding: clamp(40px, 6vw, 76px) clamp(20px, 6vw, 120px);
  position: relative;
  overflow: hidden;
}

footer#footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 200px; height: 3px;
  background: var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

.footer-brand .f-logo img {
  height: 72px;
  width: auto;
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  line-height: 1.75;
  max-width: 240px;
}

.footer-col-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col-title::after {
  content: ''; flex: 1;
  height: 1px; background: var(--gray-brd);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  min-height: 44px;
}

.contact-item:hover            { color: var(--red); }
.contact-item:hover .c-icon   { border-color: var(--red); }

.c-icon {
  width: 34px; height: 34px;
  border: 1px solid var(--gray-brd);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.c-icon svg { width: 14px; height: 14px; fill: currentColor; }

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.location-item .c-icon { margin-top: 2px; }

.footer-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
}

.footer-brand-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--gray-brd);
  color: var(--text-dim);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  border-top: 1px solid var(--gray-brd);
  flex-wrap: wrap;
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-bottom span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  color: var(--gray-brd);
}

.footer-bottom span b { color: var(--text-dim); }

/* ═══════════════════════════════════════════════════
   FLOATING WA
═══════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  background: #25D366;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
  box-shadow: 0 4px 22px rgba(37,211,102,0.32);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 8px 30px rgba(37,211,102,0.48); }

.wa-float svg { width: 26px; height: 26px; fill: #111; position: relative; z-index: 2; }

.wa-float::before {
  content: '';
  position: absolute; inset: -5px;
  background: rgba(37,211,102,0.18);
  animation: waPulse 2.2s infinite;
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.65; }
  70%  { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.45); opacity: 0; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ─── */
@media (max-width: 1024px) {
  nav { min-height: 80px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .footer-brand .f-logo img { margin-bottom: 0; }
  .footer-brand p { max-width: 400px; }
}

/* ── Tablet small (≤ 768px) ─── */
@media (max-width: 768px) {
  nav { min-height: auto; flex-direction: column; align-items: stretch; padding: 0; }

  #hero { margin-top: 0; min-height: 100svh; }

  .nav-left {
    padding: 12px clamp(14px, 4vw, 24px);
    border-bottom: 1px solid var(--gray-brd);
    justify-content: center;
  }

  .nav-left img { height: 54px; }
  .nav-name { font-size: 1.6rem; }

  .nav-right {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 8px clamp(10px, 3vw, 20px);
    gap: 4px;
  }

  .nav-cat-row { flex-wrap: wrap; justify-content: center; }

  .nav-cat-item { font-size: 0.6rem; padding: 6px 10px; letter-spacing: 0.2em; }
  .nav-cat-sep  { padding: 6px 2px; }

  .hero-content { padding: 36px 20px; }

  .hero-location { font-size: clamp(0.8rem, 3vw, 1rem); letter-spacing: 0.18em; }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { width: 100%; max-width: 320px; }

  .hero-logo-bg { opacity: 0.03; width: clamp(220px, 70vw, 400px); }

  /* WIP */
  .wip-title { font-size: clamp(1.1rem, 7vw, 2.5rem); white-space: normal; }
  .wip-ctas {
    flex-direction: column;
    align-items: center;
  }
  .wip-ctas .btn-primary,
  .wip-ctas .btn-outline { width: 100%; max-width: 300px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { flex-direction: column; align-items: flex-start; gap: 0; }
  .footer-brand .f-logo img { margin-bottom: 10px; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ── Mobile (≤ 480px) ─── */
@media (max-width: 480px) {
  .nav-left img { height: 44px; }
  .nav-name { font-size: 1.3rem; letter-spacing: 0.08em; }
  .nav-tagline { letter-spacing: 0.28em; }
  .nav-cat-item { font-size: 0.55rem; padding: 5px 8px; }

  .hero-content { padding: 28px 16px; }
  .hero-location { font-size: 0.75rem; letter-spacing: 0.12em; }
  .pill { font-size: 0.78rem; padding: 7px 14px; }

  .wip-top    { padding: 32px 18px 0; }
  .wip-bottom { padding: 14px 18px 36px; }
  .wip-title  { font-size: clamp(1rem, 8vw, 1.6rem); }
  .wip-desc   { font-size: 0.86rem; }

  footer#footer { padding: 32px 16px; }
  .footer-brand .f-logo img { height: 58px; }
  .contact-item { font-size: 0.88rem; }

  .wa-float { width: 50px; height: 50px; bottom: 16px; right: 16px; }
}

/* ── Small phones (≤ 360px) ─── */
@media (max-width: 360px) {
  .nav-name { font-size: 0.95rem; }
  .nav-left img { height: 30px; }
  .hero-location { font-size: 0.68rem; }
  .wip-title { font-size: clamp(0.9rem, 8vw, 1.4rem); }
}

/* ── Landscape mobile ─── */
@media (max-width: 768px) and (orientation: landscape) {
  #hero { min-height: auto; }
  .hero-content { padding: 24px 20px; }
  .hero-logo-bg { display: none; }
  .scroll-hint { display: none; }
  .hero-ctas { flex-direction: row; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline { width: auto; }
}

/* ── Touch: no hover effects ─── */
@media (hover: none) {
  .btn-primary:hover,
  .btn-outline:hover { transform: none; }
  .contact-item:hover { color: var(--text); }
  .contact-item:hover .c-icon { border-color: var(--gray-brd); }
}

/* ── Print ─── */
@media print {
  header, .wa-float, .scroll-hint { display: none; }
  body { background: #fff; color: #111; }
  a { color: #111; text-decoration: underline; }
}