:root {
  --grey-900: #1a1a1a;
  --grey-700: #4b5563;
  --grey-500: #6b7280;
  --grey-300: #d4d4d2;
  --grey-200: #e7e5e2;
  --grey-100: #f5f4f1;
  --white: #ffffff;
  --accent: #d97757;
  --accent-dark: #b8583a;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(26, 26, 26, 0.06);
  --font: -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);
  color: var(--grey-900);
  background: var(--white);
  line-height: 1.55;
}

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

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

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--grey-900);
  font-weight: 700;
  font-size: 1.15rem;
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  color: var(--grey-700);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover { color: var(--accent-dark); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey-500);
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--grey-900);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--grey-900);
  border-radius: 2px;
}

/* Hero */
.hero {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 72px 24px 88px;
}

.hero-text { flex: 1.1; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin: 0 0 12px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 8px;
  line-height: 1.1;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--grey-700);
  margin: 0 0 20px;
}

.hero-text-p {
  color: var(--grey-700);
  font-size: 1.05rem;
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

.hero-image img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

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

.btn-ghost {
  background: transparent;
  border-color: var(--grey-300);
  color: var(--grey-900);
}

.btn-ghost:hover { border-color: var(--grey-900); }

/* Sections */
.section {
  padding: 72px 0;
  scroll-margin-top: 68px;
}

.section-alt { background: var(--grey-100); }

.section h2 {
  font-size: 2rem;
  margin: 0 0 20px;
}

.section-lead {
  color: var(--grey-700);
  font-size: 1.05rem;
  max-width: 68ch;
  margin: 0 0 28px;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.tag-list li {
  background: var(--grey-100);
  border: 1px solid var(--grey-200);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.88rem;
  color: var(--grey-700);
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 28px;
}

.card-icon {
  font-size: 1.6rem;
  color: var(--accent);
  margin-bottom: 12px;
  font-weight: 700;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--grey-700);
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h2 { margin-top: 0; }

.contact-info p { color: var(--grey-700); }

.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--grey-700);
  font-size: 0.95rem;
}

.contact-list a {
  color: var(--grey-900);
  font-weight: 600;
  text-decoration: none;
}

.contact-list a:hover { color: var(--accent-dark); }

.contact-form {
  background: var(--grey-100);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-row label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-700);
}

.form-row input,
.form-row textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  padding: 11px 14px;
  border: 1px solid var(--grey-300);
  border-radius: 8px;
  background: var(--white);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  margin: 0;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-status.success { color: #2f7a4d; }
.form-status.error { color: #b3261e; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--grey-200);
  padding: 28px 0;
}

.site-footer p {
  margin: 0;
  color: var(--grey-500);
  font-size: 0.85rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 860px) {
  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero { flex-direction: column-reverse; text-align: center; padding-top: 40px; }
  .hero-cta { justify-content: center; }
  .hero-text-p { max-width: none; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--grey-200);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--grey-100);
  }
  .nav-toggle { display: flex; }
}

@media (prefers-color-scheme: dark) {
  body { background: var(--grey-900); color: var(--grey-100); }
  .site-header { background: rgba(26,26,26,0.9); border-color: #333; }
  .logo { color: var(--white); }
  .main-nav a { color: var(--grey-300); }
  .main-nav.is-open { background: var(--grey-900); border-color: #333; }
  .section-alt { background: #222220; }
  .card { background: #262624; border-color: #333; }
  .card p { color: var(--grey-300); }
  .tag-list li { background: #262624; border-color: #333; color: var(--grey-300); }
  .hero-sub, .hero-text-p, .section-lead, .contact-info p, .contact-list { color: var(--grey-300); }
  .contact-list a { color: var(--white); }
  .contact-form { background: #262624; }
  .form-row input, .form-row textarea { background: #1a1a1a; border-color: #444; color: var(--grey-100); }
  .btn-ghost { color: var(--grey-100); border-color: #444; }
  .site-footer { border-color: #333; }
}
