/* Design tokens */
:root {
  --color-bg: #eadfd7;
  --color-sheet: #faf7f2;
  --color-details: #f4efea;
  --color-text: #1c1a17;
  --color-muted: #5c544f;
  --color-muted-alt: #665e56;
  --color-price: #2d4236;
  --color-metric-icon: #efe8e1;
  --color-border: #e5ddd5;
  --color-border-alt: #e6dfd5;
  --color-price-note: rgba(250, 246, 240, 0.9);
  --shadow-sheet: 0 24px 48px rgba(28, 26, 23, 0.08);
  --font-lora: "Lora", Georgia, serif;
  --font-inter: "Inter", system-ui, sans-serif;
  --font-playfair: "Playfair Display", Georgia, serif;
  --font-manrope: "Manrope", system-ui, sans-serif;
  --sheet-max: 1320px;
  --page-gap: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-inter);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

address {
  font-style: normal;
}

/* Page layout */
.page {
  min-height: 100vh;
  padding: var(--page-gap);
}

.page__content {
  max-width: var(--sheet-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--page-gap);
}

/* Language nav */
.lang-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.lang-nav__link {
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-manrope);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  background: rgba(250, 247, 242, 0.6);
  border: 1px solid var(--color-border-alt);
  transition: background 0.2s, color 0.2s;
}

.lang-nav__link:hover {
  background: var(--color-sheet);
  color: var(--color-text);
}

.lang-nav__link--active {
  background: var(--color-sheet);
  color: var(--color-text);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sheet);
}

/* Listing sheet */
.sheet {
  background: var(--color-sheet);
  border-radius: 32px;
  box-shadow: var(--shadow-sheet);
  overflow: hidden;
}

/* Hero */
.hero {
  display: flex;
  min-height: 680px;
}

.hero__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px;
  min-width: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-lora);
  font-size: 44px;
  line-height: 1;
  white-space: nowrap;
}

.logo__brand {
  font-weight: 700;
  color: var(--color-text);
}

.logo__suffix {
  font-weight: 400;
  color: var(--color-muted);
}

.logo__leaf {
  flex-shrink: 0;
}

.hero__heading-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__heading {
  margin: 0;
  font-family: var(--font-lora);
  font-size: 48px;
  font-weight: 700;
  line-height: 58px;
}

.hero__heading-line {
  display: block;
}

.hero__divider {
  width: 80px;
  height: auto;
}

.metrics-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.metrics-grid__row {
  display: flex;
  gap: 24px;
}

.metric {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.metric__icon-wrap {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-metric-icon);
  border-radius: 18px;
}

.metric__text {
  min-width: 0;
}

.metric__title {
  margin: 0;
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.3;
}

.metric__subtitle {
  margin: 2px 0 0;
  font-family: var(--font-inter);
  font-size: 12px;
  color: var(--color-muted);
}

.hero__image {
  flex-shrink: 0;
  width: 50%;
  max-width: 660px;
  margin: 0;
  position: relative;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 680px;
}

/* Details section */
.details {
  background: var(--color-details);
  padding: 48px 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.details__intro {
  margin: 0;
  font-family: var(--font-lora);
  font-size: 18px;
  font-style: italic;
  line-height: 28px;
}

.details__divider {
  width: 100%;
  height: auto;
}

.details__body {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: var(--color-muted);
}

/* Process */
.process {
  background: var(--color-sheet);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.process__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.process__header-icon {
  flex-shrink: 0;
}

.process__title {
  margin: 0;
  font-family: var(--font-inter);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.process__steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 24px;
  gap: 4px;
}

.process__step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.process__step-icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-sheet);
  border: 1px solid var(--color-border);
  border-radius: 24px;
}

.process__step-label {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.3;
}

.process__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 16px;
}

/* Gallery */
.gallery {
  display: flex;
  gap: 20px;
}

.gallery__item {
  flex: 1;
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  min-width: 0;
}

.gallery__item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

/* Bottom metrics bar */
.bottom-metrics {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--color-sheet);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
}

.bottom-metrics__item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bottom-metrics__icon {
  flex-shrink: 0;
}

.bottom-metrics__text {
  margin: 0;
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.4;
}

.bottom-metrics__sep {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: center;
  height: 40px;
}

.bottom-metrics__sep img {
  transform: rotate(90deg);
}

/* Section titles */
.section-title {
  margin: 0;
  font-family: var(--font-playfair);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-title--large {
  font-size: 28px;
  letter-spacing: -0.14px;
}

.section-title--center {
  font-size: 18px;
  text-align: center;
  letter-spacing: 1px;
}

.section-title--small {
  font-size: 18px;
}

/* Advantages */
.advantages {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.advantages__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.advantages__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantage {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.advantage__icon-wrap {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--color-border-alt);
  border-radius: 20px;
}

.advantage__title {
  margin: 0 0 4px;
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 700;
}

.advantage__desc {
  margin: 0;
  font-family: var(--font-manrope);
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-muted-alt);
}

.advantages__images {
  flex-shrink: 0;
  width: 480px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advantages__image {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
}

.advantages__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Transferred section */
.transferred {
  background: var(--color-sheet);
  border: 1px solid var(--color-border-alt);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.transferred__grid {
  display: flex;
  gap: 16px;
}

.transferred__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.transferred__icon-wrap {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-details);
  border-radius: 24px;
}

.transferred__label {
  margin: 0;
  font-family: var(--font-manrope);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

/* Bottom split */
.bottom-split {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.growth {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.growth__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.growth__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 500;
}

.growth__bullet {
  flex-shrink: 0;
}

.growth__note {
  margin: 0;
  font-family: var(--font-manrope);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted-alt);
}

.price-card {
  flex-shrink: 0;
  width: 480px;
  background: var(--color-price);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card__label {
  margin: 0;
  font-family: var(--font-manrope);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
}

.price-card__amount {
  margin: 0;
  font-family: var(--font-playfair);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
  white-space: pre;
}

.price-card__note {
  margin: 0;
  font-family: var(--font-manrope);
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-price-note);
}

/* Contact footer */
.contact-footer {
  background: var(--color-sheet);
  border: 1px solid var(--color-border-alt);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.contact-footer__nda {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.contact-footer__text {
  margin: 0;
  font-family: var(--font-manrope);
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-muted-alt);
}

.contact-footer__direct {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s;
}

.contact-item:hover {
  opacity: 0.75;
}

.contact-item__icon-wrap {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-details);
  border-radius: 16px;
}

.contact-item__text {
  font-family: var(--font-manrope);
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-form-wrap {
  flex: 0 1 380px;
  max-width: 100%;
}

.contact-form {
  background: linear-gradient(180deg, #faf7f2 0%, #f3ebe3 100%);
  border: 1px solid var(--color-border-alt);
  border-radius: 16px;
  box-shadow: none;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  scroll-margin-top: 24px;
}

.contact-form__title {
  margin: 0;
  font-family: var(--font-playfair);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  color: var(--color-text);
}

.contact-form__intro {
  margin: 0 0 8px;
  font-family: var(--font-manrope);
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-muted-alt);
}

.contact-form__label {
  margin-top: 4px;
  font-family: var(--font-manrope);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-align: left;
  color: var(--color-text);
}

.contact-form__input {
  width: 100%;
  height: 42px;
  padding: 10px 14px;
  border: 1px solid #cbbfb4;
  border-radius: 10px;
  background: #fff;
  font-family: var(--font-manrope);
  font-size: 14px;
  color: var(--color-text);
}

.contact-form__input:focus {
  outline: 2px solid #2d4236;
  outline-offset: 1px;
  border-color: #2d4236;
}

.contact-form__textarea {
  height: auto;
  min-height: 100px;
  max-height: 240px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.45;
}

.contact-form__submit {
  margin-top: 12px;
  width: 100%;
  min-height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 10px;
  background: #2d4236;
  color: #fff;
  font-family: var(--font-manrope);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.contact-form__submit:hover {
  background: #1c1a17;
}

.contact-form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.contact-form__client-error {
  margin: 0;
  font-family: var(--font-manrope);
  font-size: 13px;
  color: #7a1f1f;
  text-align: left;
}

.contact-form__flash {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-family: var(--font-manrope);
  font-size: 13px;
  text-align: left;
}

.contact-form__flash--ok {
  background: #e8f2ea;
  color: #1f4d2e;
}

.contact-form__flash--err {
  background: #f8e8e8;
  color: #7a1f1f;
}

/* Inquiry success toast */
.inquiry-toast {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(28, 26, 23, 0.45);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.inquiry-toast--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.inquiry-toast__card {
  width: min(420px, 100%);
  background: #faf7f2;
  border: 1px solid #e6dfd5;
  border-radius: 16px;
  box-shadow: 0 24px 48px rgba(28, 26, 23, 0.18);
  padding: 28px 24px 20px;
  text-align: center;
}

.inquiry-toast__title {
  margin: 0 0 10px;
  font-family: var(--font-playfair);
  font-size: 22px;
  color: var(--color-text);
}

.inquiry-toast__body {
  margin: 0 0 20px;
  font-family: var(--font-manrope);
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-muted-alt);
}

.inquiry-toast__close {
  min-width: 96px;
  height: 36px;
  border: none;
  border-radius: 8px;
  background: #2d4236;
  color: #fff;
  font-family: var(--font-manrope);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.inquiry-toast__close:hover {
  background: #1c1a17;
}

.contact-footer__image {
  flex-shrink: 0;
  width: 220px;
  height: 140px;
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  align-self: center;
}

.contact-footer__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Tablet */
@media (max-width: 1200px) {
  .hero {
    flex-direction: column;
    min-height: auto;
  }

  .hero__left {
    padding: 48px;
  }

  .hero__image {
    width: 100%;
    max-width: none;
  }

  .hero__image img {
    min-height: 400px;
  }

  .advantages {
    flex-direction: column;
  }

  .advantages__images {
    width: 100%;
  }

  .transferred__grid {
    flex-wrap: wrap;
  }

  .transferred__item {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 120px;
  }

  .bottom-split {
    flex-direction: column;
  }

  .price-card {
    width: 100%;
  }

  .contact-footer {
    flex-wrap: wrap;
  }

  .contact-form-wrap {
    flex: 1 1 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .page {
    padding: 20px 16px;
  }

  .lang-nav {
    margin-bottom: 16px;
  }

  .sheet {
    border-radius: 20px;
  }

  .hero__left {
    padding: 32px 24px;
    gap: 32px;
  }

  .logo {
    font-size: 32px;
  }

  .hero__heading {
    font-size: 32px;
    line-height: 1.2;
  }

  .metrics-grid__row {
    flex-direction: column;
    gap: 16px;
  }

  .details {
    padding: 32px 24px;
    gap: 28px;
  }

  .process__steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 0;
  }

  .process__arrow {
    display: none;
  }

  .process__step {
    flex: 1 1 calc(33.333% - 16px);
    min-width: 90px;
  }

  .process__title {
    font-size: 11px;
    white-space: normal;
  }

  .gallery {
    flex-direction: column;
  }

  .gallery__item img {
    height: 220px;
  }

  .bottom-metrics {
    flex-direction: column;
    gap: 20px;
  }

  .bottom-metrics__sep {
    display: none;
  }

  .section-title--large {
    font-size: 22px;
  }

  .transferred__item {
    flex: 1 1 calc(50% - 16px);
  }

  .contact-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-form-wrap {
    width: 100%;
  }

  .contact-footer__image {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .hero__heading {
    font-size: 26px;
  }

  .process__step {
    flex: 1 1 calc(50% - 12px);
  }

  .transferred__item {
    flex: 1 1 100%;
  }

  .price-card__amount {
    font-size: 32px;
  }
}
