* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f1eb;
  --surface: #ffffff;
  --surface-strong: rgba(255, 255, 255, 0.92);
  --text: #1f1f1f;
  --muted: #5c5954;
  --line: rgba(31, 31, 31, 0.08);
  --accent: #be5400;
  --accent-dark: #8d3d00;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.14);
  --radius: 28px;
  --radius-sm: 18px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

body.modal-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
}

.container {
  width: min(124rem, calc(100% - 4rem));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  min-height: calc(100vh - 8.8rem);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0 auto 0 0;
  width: 48%;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.16), rgba(17, 17, 17, 0.76)),
    url(images/bg2.jpg) center / cover no-repeat;
}

.hero__grid {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 8.8rem);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 5.6rem;
  align-items: stretch;
  padding: 7.2rem 0 4.8rem;
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2.4rem;
  padding: 2.4rem 0 2.4rem;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 0.7rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4.2rem, 5vw, 7.2rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 52rem;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__points span {
  padding: 1rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 1.45rem;
}

.hero__actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 5.4rem;
  padding: 1.3rem 2rem;
  border-radius: 999px;
  font-size: 1.6rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

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

.button--primary {
  background: var(--accent);
  color: #ffffff;
}

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

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero__panel {
  align-self: center;
  background: var(--surface-strong);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem;
}

.brand-lockup {
  padding: 1rem 1rem 2.4rem;
}

.brand-lockup img {
  width: min(100%, 58rem);
  margin: 0 auto;
}

.slider {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  background: #ddd6cf;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
}

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

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

.copy-block {
  display: grid;
  gap: 1.2rem;
  padding: 2.4rem 0 0;
}

.copy-block h2 {
  font-size: 2.4rem;
  line-height: 1.1;
}

.copy-block p {
  font-size: 1.75rem;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.site-footer__inner {
  min-height: 8.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0;
}

.contact-card {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.contact-card img {
  width: 4.8rem;
  height: 4.8rem;
}

.contact-card span {
  display: block;
  font-size: 1.25rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-card a {
  font-size: 2rem;
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.site-footer__links a {
  font-size: 1.6rem;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
}

.modal.is-visible {
  display: block;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.62);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  width: min(72rem, calc(100% - 3rem));
  margin: 6vh auto;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 3rem;
}

.modal__dialog h2 {
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.modal__dialog > p {
  color: var(--muted);
  font-size: 1.65rem;
  margin-bottom: 2rem;
}

.modal__close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 50%;
  background: rgba(31, 31, 31, 0.06);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
}

.contact-form {
  display: grid;
  gap: 1.4rem;
}

.contact-form label {
  display: grid;
  gap: 0.7rem;
}

.contact-form span {
  font-size: 1.4rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  padding: 1.4rem 1.6rem;
  font-size: 1.6rem;
  color: var(--text);
  background: #ffffff;
}

.contact-form textarea {
  resize: vertical;
  min-height: 16rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(190, 84, 0, 0.18);
  border-color: rgba(190, 84, 0, 0.4);
}

.form-note,
.form-note a {
  font-size: 1.35rem;
  color: var(--muted);
}

.form-note a {
  text-decoration: underline;
}

.form-status {
  margin-bottom: 1.6rem;
  padding: 1.2rem 1.4rem;
  border-radius: 1.4rem;
  font-size: 1.45rem;
}

.form-status.success {
  background: rgba(22, 163, 74, 0.12);
  color: #166534;
}

.form-status.error {
  background: rgba(220, 38, 38, 0.1);
  color: #991b1b;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.legal-page {
  background: #f7f4ef;
}

.legal-shell {
  width: min(92rem, calc(100% - 4rem));
  margin: 0 auto;
  padding: 5rem 0 7rem;
}

.legal-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
  padding: 3.2rem;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  color: var(--muted);
}

.legal-card h1 {
  font-size: 3.6rem;
  line-height: 1.05;
  margin-bottom: 2rem;
}

.legal-card h2 {
  font-size: 2.3rem;
  line-height: 1.15;
  margin: 2.6rem 0 1rem;
}

.legal-card h3 {
  font-size: 1.9rem;
  line-height: 1.25;
  margin: 1.8rem 0 0.8rem;
}

.legal-card p,
.legal-card li {
  font-size: 1.6rem;
  color: var(--muted);
}

.legal-card p + p,
.legal-card ul,
.legal-card ol {
  margin-top: 1rem;
}

.legal-card ul,
.legal-card ol {
  padding-left: 2rem;
}

.legal-card a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 0.22rem;
}

@media (max-width: 980px) {
  .hero__media {
    width: 100%;
    height: 46rem;
    inset: 0 0 auto 0;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: 4rem;
  }

  .hero__content {
    min-height: 46rem;
    padding-bottom: 1.2rem;
  }

  .hero__panel {
    margin-bottom: 1rem;
  }
}

@media (max-width: 640px) {
  html {
    font-size: 56.25%;
  }

  .container,
  .legal-shell {
    width: calc(100% - 3rem);
  }

  .hero__grid {
    padding-bottom: 3rem;
  }

  .hero__content,
  .hero__panel,
  .modal__dialog,
  .legal-card {
    padding: 2.2rem;
  }

  .site-footer__inner {
    align-items: flex-start;
  }

  .contact-card {
    width: 100%;
    border-radius: 2rem;
  }

  .contact-card a {
    font-size: 1.8rem;
  }

  .hero__actions,
  .form-actions,
  .site-footer__links {
    width: 100%;
  }

  .button {
    width: 100%;
  }
}
