@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,400;0,600;0,700;1,400&family=Noto+Sans+JP:wght@400;700&display=swap');

:root {
  --red:    #D92528;
  --bg:     #F0EEE1;
  --text:   #1a1a1a;
  --gray:   #5e5e5e;
  --white:  #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Noto Sans', sans-serif;
  cursor: none;
}

/* ─── CURSOR ─────────────────────────────────────────── */
.cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--red);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: left, top;
}

@media (hover: none) {
  .cursor { display: none; }
  body { cursor: auto; }
}

/* ─── FADE-IN ON SCROLL ───────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── NAV ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
  background: rgba(240, 238, 225, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.07);
}

nav .nav-logo img { height: 30px; }

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav ul a {
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover { color: var(--red); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.lang-switch .sep { color: rgba(26,26,26,0.25); }

.lang {
  text-decoration: none;
  color: var(--text);
  transition: color 0.2s;
}

.lang.active { color: var(--red); }
.lang:not(.active):hover { color: var(--red); }

/* ─── HERO ────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
}

.hero-watermark {
  position: absolute;
  width: 65vw;
  max-width: 680px;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

.hero-logo {
  height: 72px;
  margin-bottom: 48px;
}

.hero-tagline {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-tagline span { color: var(--red); }

.hero-sub {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--gray);
  letter-spacing: 0.08em;
  margin-bottom: 60px;
}

.scroll-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--gray);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.scroll-cta:hover { color: var(--red); }

.scroll-cta::after {
  content: '';
  display: block;
  width: 1px;
  height: 52px;
  background: currentColor;
  animation: lineBreath 1.6s ease-in-out infinite;
}

@keyframes lineBreath {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50%       { transform: scaleY(0.4); opacity: 0.3; }
}

/* ─── O FIRMIE ────────────────────────────────────────── */
#about {
  position: relative;
  overflow: hidden;
}

#about .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 60px;
}

.about-watermark {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  opacity: 0.05;
  pointer-events: none;
}

.about-text {
  font-size: clamp(19px, 2.4vw, 26px);
  line-height: 1.75;
  max-width: 680px;
  font-weight: 400;
}

/* ─── USŁUGI ──────────────────────────────────────────── */
#services .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 110px 60px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.service-card {
  background: var(--white);
  border: 1px solid rgba(26,26,26,0.07);
  padding: 44px 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}

.service-kanji-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}

.service-kanji {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 72px;
  line-height: 1;
  color: var(--red);
}

.service-romaji {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--red);
  text-transform: uppercase;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray);
}

/* ─── SECTION LABEL ──────────────────────────────────── */
.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
}

/* ─── KONTAKT ─────────────────────────────────────────── */
#contact-wrap {
  background: var(--text);
  position: relative;
  overflow: hidden;
}

#contact-wrap .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.contact-left {
  position: relative;
  display: flex;
  flex-direction: column;
}

.contact-watermark {
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 380px;
  opacity: 0.06;
  pointer-events: none;
}

.contact-heading {
  font-size: clamp(26px, 4vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 36px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-info span {
  color: rgba(255,255,255,0.35);
  font-size: 14px;
}

.contact-info a {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info a:hover { color: var(--red); }

.contact-logo {
  margin-top: auto;
  height: 56px;
  opacity: 1;
  align-self: flex-start;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  padding: 14px 16px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group textarea { min-height: 140px; }

.btn-submit {
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 15px 42px;
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: none;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: #b81e20;
  transform: translateY(-2px);
}

.btn-submit:disabled {
  opacity: 0.6;
  transform: none;
}

.form-message {
  font-size: 14px;
  padding: 12px 16px;
  display: none;
  line-height: 1.5;
}

.form-message.success {
  display: block;
  background: rgba(76,175,80,0.12);
  border: 1px solid rgba(76,175,80,0.3);
  color: #6fcf72;
}

.form-message.error {
  display: block;
  background: rgba(217,37,40,0.12);
  border: 1px solid rgba(217,37,40,0.3);
  color: #e57373;
}

/* ─── FOOTER ──────────────────────────────────────────── */
footer {
  background: #111;
  color: rgba(255,255,255,0.25);
  text-align: center;
  padding: 22px 40px;
  font-size: 13px;
}

footer span { color: var(--red); }

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }

  #contact-wrap .inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

@media (max-width: 768px) {
  body { cursor: auto; }

  nav {
    padding: 16px 24px;
  }

  nav ul { gap: 24px; }

  #hero { padding: 100px 24px 60px; }
  .hero-logo { height: 52px; margin-bottom: 36px; }

  #about .inner,
  #services .inner,
  #contact-wrap .inner {
    padding: 72px 24px;
  }

  .about-watermark { display: none; }
  .contact-watermark { display: none; }
}

@media (max-width: 480px) {
  nav ul { gap: 16px; }
  nav ul a { font-size: 11px; }
  .service-card { padding: 32px 24px; }
  .service-kanji { font-size: 56px; }
}
