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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
  background: #fff;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

a {
  color: #2563eb;
}

/* Hero */
.hero-img {
  width: 100%;
  display: block;
}

.hero-img img {
  height: 400px;
  display: block;
  margin: 0 auto;
}

.hero {
  padding: 60px 20px 40px;
  text-align: center;
  border-bottom: 1px solid #e5e5e5;
}

.hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: #555;
  margin-top: 4px;
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.stat {
  font-size: 1.05rem;
}

.stat strong {
  font-size: 1.3rem;
}

.stat-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #999;
}

.hero-available {
  margin-top: 16px;
  font-weight: 600;
  color: #16a34a;
  font-size: 1rem;
}

.hero .contact-email {
  margin-top: 20px;
}

/* Gallery */
.gallery {
  padding: 48px 0;
  background: #fafafa;
}

.gallery-toggle {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  overflow: hidden;
  width: fit-content;
}

.toggle-btn {
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  border: none;
  background: #fff;
  color: #555;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.toggle-btn + .toggle-btn {
  border-left: 1px solid #d1d5db;
}

.toggle-btn.active {
  background: #1a1a1a;
  color: #fff;
}

.toggle-btn:hover:not(.active) {
  background: #f3f4f6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-item {
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  color: #ccc;
  margin-top: 12px;
  font-size: 0.95rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 2rem;
  padding: 12px;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.15s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  top: 16px;
  right: 20px;
  font-size: 2.5rem;
}

.lightbox-prev {
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

.lightbox-next {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
}

/* About */
.about {
  padding: 48px 0;
}

.about p {
  max-width: 640px;
  margin-bottom: 0.75rem;
}

/* Floors */
.floors {
  padding: 48px 0;
  background: #fafafa;
}

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

.floor-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px;
}

.floor-card p {
  color: #444;
  font-size: 0.95rem;
}

/* Location */
.location {
  padding: 48px 0;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.location-content p {
  color: #444;
  margin-bottom: 0.5rem;
}

.location-content ul {
  list-style: none;
  padding: 0;
}

.location-content li {
  padding: 4px 0;
  color: #444;
}

.location-content li::before {
  content: "·";
  margin-right: 8px;
  font-weight: bold;
}

/* Terms */
.terms {
  padding: 48px 0;
  background: #fafafa;
}

.terms-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 32px;
}

.term-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #e5e5e5;
}

.term-item dt {
  font-weight: 600;
  min-width: 120px;
  color: #555;
  font-size: 0.9rem;
}

.term-item dd {
  font-size: 0.95rem;
}

/* Contact */
.contact {
  padding: 48px 0;
  text-align: center;
}

.contact p {
  color: #555;
  margin-bottom: 16px;
}

.contact-email {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  padding: 12px 32px;
  border: 2px solid #2563eb;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}

.contact-email:hover {
  background: #2563eb;
  color: #fff;
}

/* Footer */
footer {
  padding: 24px 0;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  color: #999;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 700px) {
  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-stats {
    gap: 10px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floor-grid {
    grid-template-columns: 1fr;
  }

  .location-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .terms-list {
    grid-template-columns: 1fr;
  }

  .term-item dt {
    min-width: 100px;
  }
}
