/* === Reset & Base === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #faf9f7;
  --color-text: #2c2c2c;
  --color-text-light: #6b6b6b;
  --color-accent: #7a9e7e;
  --color-accent-dark: #5a7e5e;
  --color-white: #ffffff;
  --color-border: #e8e5e0;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* === Header === */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 247, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

nav {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: inline-flex;
}

.logo {
  height: 36px;
  width: auto;
}

.lang-switcher {
  display: flex;
  gap: 0.25rem;
}

.lang-btn {
  background: none;
  border: 1px solid transparent;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  color: var(--color-text);
  background: rgba(0, 0, 0, 0.04);
}

.lang-btn.active {
  color: var(--color-accent-dark);
  border-color: var(--color-accent);
  background: rgba(122, 158, 126, 0.08);
}

/* === Hero === */
.hero {
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.hero-content {
  max-width: 640px;
  margin: 0 auto;
}

.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.hero-line {
  width: 48px;
  height: 2px;
  background: var(--color-accent);
  margin: 2rem auto 0;
  border-radius: 1px;
}

/* === About === */
.about {
  padding: 2rem 0 6rem;
}

.about-text p {
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-text p:first-child {
  font-size: 1.2rem;
  color: var(--color-text);
}

.about-text p:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: var(--color-text-light);
}

/* === Footer === */
footer {
  margin-top: auto;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  align-items: start;
  max-width: 720px;
  margin: 0 auto;
}

.footer-logo {
  height: 28px;
  width: auto;
  opacity: 0.7;
}

.footer-info p,
.footer-legal p {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.footer-info strong {
  color: var(--color-text);
  font-weight: 500;
}

.footer-legal a {
  color: var(--color-accent-dark);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 640px) {
  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .about {
    padding: 1rem 0 4rem;
  }

  .about-text p {
    font-size: 1.05rem;
    text-align: left;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    justify-content: center;
  }
}

/* === Animations === */
@media (prefers-reduced-motion: no-preference) {
  .tagline {
    animation: fadeUp 0.8s ease-out;
  }

  .hero-line {
    animation: fadeUp 0.8s ease-out 0.2s both;
  }

  .about-text {
    animation: fadeUp 0.6s ease-out 0.4s both;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
