:root {
  --bg: #f4f1ec;
  --bg-soft: #ece7e1;
  --surface: #ffffff;
  --text: #2e3336;
  --text-soft: #616a70;
  --border: #cfc7be;
  --accent-data: #6c7d78;
  --accent-cyber: #435764;
  --accent-warm: #a99880;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

input,
textarea,
button {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: var(--text-soft);
  font-size: 0.96rem;
}

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

.nav-item {
  position: relative;
}

.has-dropdown > a::after {
  content: "▾";
  font-size: 0.62rem;
  margin-left: 6px;
  opacity: 0.5;
}


.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  padding-top: 10px;
  display: none;
}

.dropdown::before {
  content: "";
  display: block;
  height: 8px;
}

.dropdown a {
  display: block;
  padding: 9px 16px;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--text-soft);
  white-space: normal;
  background: rgba(255, 255, 255, 0.96);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.dropdown a:first-of-type {
  border-top: 1px solid var(--border);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  padding-top: 12px;
}

.dropdown a:last-of-type {
  border-bottom: 1px solid var(--border);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  padding-bottom: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}

.dropdown a:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.has-dropdown {
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.has-dropdown:hover .dropdown {
  display: block;
}

.hero {
  padding: 96px 0 72px;
}

.hero-home {
  padding: 72px 0 20px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-data);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero-text {
  max-width: 700px;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 72px 0 28px;
}

.page-hero-compact h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.page-hero-compact .hero-text {
  max-width: 760px;
  margin-top: 18px;
  font-size: 1.02rem;
}

.page-section {
  padding: 20px 0 88px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.2s ease;
  cursor: pointer;
}

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

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

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-secondary:hover {
  background: var(--bg-soft);
}

.intro {
  padding: 24px 0 88px;
}

.intro-home {
  padding-top: 0;
}

.intro-home-grid {
  align-items: stretch;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.card {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--accent-data);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.card p {
  color: var(--text-soft);
}

.card p:last-child {
  margin-bottom: 0;
}

.content-card {
  padding: 34px 34px 30px;
}

.content-card h2 {
  margin-bottom: 18px;
}

.content-card p {
  margin: 0 0 16px;
  line-height: 1.75;
}

.content-card p:last-child {
  margin-bottom: 0;
}

.page-contact-cta {
  padding: 0 0 88px;
}

.page-contact-cta .container {
  display: flex;
  justify-content: flex-start;
}


.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: start;
}

.contact-info-card {
  min-height: 100%;
}

.contact-info-card h2 {
  max-width: 280px;
}

.contact-meta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.contact-meta p {
  margin: 0 0 12px;
}

.contact-meta p:last-child {
  margin-bottom: 0;
}

.contact-meta span {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.contact-form-card {
  padding: 36px;
}

.contact-form {
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input {
  min-height: 52px;
}

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

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #939aa0;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent-data);
  box-shadow: 0 0 0 3px rgba(108, 125, 120, 0.1);
  background: #fff;
}

.form-actions {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero {
    padding: 72px 0 56px;
  }

  .hero-home {
    padding: 52px 0 12px;
  }

  .page-hero {
    padding: 56px 0 18px;
  }

  .two-col,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .contact-form-card {
    padding: 24px;
  }
}


.product-page {
  padding: 52px 0 84px;
}

.product-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 42px;
  align-items: start;
}

.product-main {
  min-width: 0;
}

.product-headline {
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.product-headline h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.2vw, 2.05rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.product-block {
  margin-bottom: 28px;
}

.product-block:last-child {
  margin-bottom: 0;
}

.product-block h2 {
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 600;
}

.product-block p {
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.75;
}

.product-block p:last-child {
  margin-bottom: 0;
}

.product-side {
  position: sticky;
  top: 108px;
}

.media-stack {
  display: grid;
  gap: 12px;
}

.media-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
}

.media-card h3 {
  margin: 0 0 10px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-data);
}

.media-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.media-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.media-link:hover {
  background: var(--bg-soft);
}

.media-figure {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.media-figure img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}

@media (max-width: 980px) {
  .product-shell {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-side {
    position: static;
  }

  .media-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .product-page {
    padding: 40px 0 64px;
  }

  .product-headline h1 {
    font-size: 1.38rem;
  }

  .media-stack {
    grid-template-columns: 1fr;
  }
}


.form-status {
  margin: 12px 0 0;
  font-size: 0.94rem;
  color: var(--text-soft);
}

.form-status[data-state="success"] {
  color: var(--accent-data);
}

.form-status[data-state="error"] {
  color: #9a4f4f;
}

.form-actions .btn[disabled] {
  opacity: 0.7;
  cursor: wait;
}
