:root {
  --bg: #ffffff;
  --surface: #f7f8f6;
  --surface-2: #eef2ec;
  --text: #14181a;
  --muted: #5b6468;
  --line: #e3e8e1;
  --accent: #3a9b3f;
  --accent-dark: #2f7f33;
  --shadow: 0 12px 28px rgba(20, 24, 26, 0.06);
  --radius: 18px;
  --container: min(1120px, calc(100vw - 32px));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  transform: translateY(-200%);
  background: var(--text);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(20, 24, 26, 0.06);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand img {
  width: 220px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  padding: 0.5rem 0.2rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.nav-menu {
  display: none;
  margin-left: auto;
  position: relative;
}

.nav-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 220px;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.25rem;
}

.nav-menu nav a {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  color: var(--muted);
}

.nav-menu nav a:hover,
.nav-menu nav a:focus-visible {
  background: var(--surface);
  color: var(--text);
}

.nav-cta {
  font-weight: 600;
  color: var(--text) !important;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--text);
  color: #fff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #0f1214;
}

.button--secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: #cfd8ce;
  background: var(--surface);
}

.header-cta {
  margin-left: 0.5rem;
}

.section {
  padding: 3.25rem 0;
}

.section--tight {
  padding-top: 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 42rem;
}

.hero-logo {
  width: 220px;
  margin-bottom: 1.3rem;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 10ch;
}

.hero-copy p,
.section-head p,
.contact-card p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy p {
  max-width: 34rem;
  margin-top: 1rem;
  font-size: 1.05rem;
}

.hero-actions,
.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.hero-panel {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-panel__card {
  width: 100%;
  max-width: 380px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(180deg, #fff, var(--surface));
  box-shadow: var(--shadow);
}

.hero-panel__card p {
  color: var(--muted);
  margin-top: 0.75rem;
  font-size: 0.95rem;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 30rem;
}

.section-head--compact {
  margin-bottom: 0;
  display: grid;
  gap: 0.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.card img {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.card h3 {
  margin-top: 0.9rem;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
}

.card p {
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(180deg, #fff, var(--surface));
  box-shadow: var(--shadow);
}

.contact-card {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.contact-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.contact-card p + p {
  margin-top: 0.65rem;
}

.site-footer {
  padding: 1.5rem 0 2rem;
}

.footer-inner {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  gap: 1rem;
}

.page {
  padding: 2rem 0 3rem;
}

.order-page {
  min-height: calc(100vh - 80px);
  display: grid;
  align-items: start;
}

.order-card {
  width: var(--container);
  margin: 0 auto;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: #fff;
  box-shadow: var(--shadow);
}

.order-card h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: none;
}

.order-form {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
}

.field label {
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  background: #fff;
  color: var(--text);
}

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

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: rgba(58, 155, 63, 0.5);
  box-shadow: 0 0 0 4px rgba(58, 155, 63, 0.12);
}

.form-status {
  min-height: 1.25rem;
  color: var(--accent-dark);
  font-weight: 600;
}

@media (max-width: 960px) {
  .hero-grid,
  .order-panel,
  .card-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    min-height: 240px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 24px, 1120px);
  }

  .nav-desktop,
  .header-cta {
    display: none;
  }

  .nav-menu {
    display: block;
  }

  .header-inner {
    justify-content: space-between;
  }

  .brand img {
    width: 160px;
  }

  .hero-grid,
  .order-panel,
  .card-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .hero-logo {
    width: 180px;
  }
}
