:root {
  --bg: #ffffff;
  --bg-soft: #f7f4ef;
  --text: #151515;
  --muted: #6f6a63;
  --line: rgba(21, 21, 21, 0.08);
  --accent: #b7864d;
  --accent-soft: #ede1d2;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  --radius: 20px;
  --container: 1180px;
  --narrow: 760px;
  --transition: 0.4s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: var(--narrow);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
}

.home-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-soft);
}

.hero-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.92), rgba(255,255,255,0.35));
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}

.home-hero:hover .hero-image img {
  transform: scale(1.05);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: 120px 0 90px;
  max-width: 820px;
}

.small-label {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-inner h1,
.page-hero h1,
.contact-section h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 1.03;
  letter-spacing: -0.04em;
}

.page-hero {
  padding: 110px 0 30px;
  background: linear-gradient(to bottom, var(--bg-soft), #fff);
}

.page-hero-soft {
  background: linear-gradient(to bottom, #f3ede5, #fff);
}

.content-section {
  padding: 50px 0 100px;
}

.content-wrap {
  max-width: 920px;
}

.content-box {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.content-box p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 18px;
}

.content-box p:last-child {
  margin-bottom: 0;
}

.contact-section {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 80px 0;
  background:
    radial-gradient(circle at top left, var(--accent-soft), transparent 35%),
    #fff;
}

.contact-title {
  position: relative;
}

.contact-title::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin-top: 18px;
  background: linear-gradient(to right, var(--accent), transparent);
  animation: sweep 2.5s ease-in-out infinite;
}

@keyframes sweep {
  0% { width: 70px; opacity: 0.5; }
  50% { width: 150px; opacity: 1; }
  100% { width: 70px; opacity: 0.5; }
}

.contact-box {
  margin-top: 28px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px;
    background: rgba(255,255,255,0.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-inner {
    padding: 100px 0 70px;
  }

  .page-hero {
    padding: 90px 0 20px;
  }

  .content-section {
    padding: 40px 0 80px;
  }

  .content-box {
    padding: 24px;
  }

  .hero-inner h1,
  .page-hero h1,
  .contact-section h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }
}