:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f5f6f8;
  --color-text: #16181d;
  --color-text-muted: #5b6472;
  --color-accent: #46607f;
  --color-accent-dark: #2e4258;
  --color-border: #e4e6ea;
  --max-width: 1080px;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-system);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

a {
  color: var(--color-accent);
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.brand span {
  font-weight: 600;
  font-size: 1.05rem;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--color-text);
}

/* Hero */
.hero {
  text-align: center;
  padding: 72px 24px 56px;
}

.hero img.icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin: 0 auto 28px;
}

.hero h1 {
  font-size: 2.25rem;
  line-height: 1.25;
  margin: 0 auto 18px;
  max-width: 640px;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  font-weight: 500;
}

.badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Slideshow */
.slideshow-section {
  background: var(--color-bg-alt);
  padding: 56px 24px 72px;
}

.slideshow {
  max-width: 340px;
  margin: 0 auto;
  position: relative;
}

.slideshow-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1320 / 2718;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide-caption {
  text-align: center;
  margin-top: 24px;
  height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.slide-caption h3 {
  font-size: 1.15rem;
  margin: 0 0 6px;
}

.slide-caption p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.slide-nav-btn {
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

.slide-nav-btn:hover {
  background: var(--color-bg-alt);
}

.slide-dots {
  display: flex;
  gap: 8px;
}

.slide-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
}

.slide-dot.is-active {
  background: var(--color-accent);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 32px 24px;
}

.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.site-footer nav a:hover {
  color: var(--color-text);
}

.site-footer .copyright {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* Simple content pages (contact / privacy) */
.page {
  padding: 56px 24px 80px;
}

.page .wrap {
  max-width: 640px;
}

.page h1 {
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.page .lede {
  color: var(--color-text-muted);
  margin-bottom: 36px;
}

.page h2 {
  font-size: 1.15rem;
  margin-top: 36px;
  margin-bottom: 10px;
}

.page p {
  margin-bottom: 16px;
}

.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-text-muted);
}

.back-link:hover {
  color: var(--color-text);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.9rem;
  font-weight: 500;
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-text);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  align-self: flex-start;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.submit-btn:hover {
  background: var(--color-accent-dark);
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 1.75rem;
  }
}
