:root {
  --ink: #1d252c;
  --muted: #68727c;
  --line: #e3e0d8;
  --paper: #ffffff;
  --soft: #f7f5f0;
  --navy: #102f45;
  --blue: #24546a;
  --red: #b3282d;
  --gold: #a98745;
  --shadow: 0 18px 42px rgba(29, 37, 44, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(227, 224, 216, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, #fff 0%, #fff 42%, var(--soft) 100%);
  background-size: 64px 64px, auto;
  font-family: "Noto Sans JP", "Noto Sans SC", system-ui, sans-serif;
  line-height: 1.78;
}

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

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 229, 234, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--red);
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: clamp(16px, 2.5vw, 34px);
  color: #293743;
  font-size: 0.9rem;
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.language-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}

.lang-btn {
  min-width: 66px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
}

.lang-btn.active {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 158px clamp(20px, 5vw, 72px) 104px;
  overflow: hidden;
  background: #101820;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 17, 22, 0.9) 0%, rgba(16, 29, 38, 0.68) 42%, rgba(16, 29, 38, 0.18) 78%),
    linear-gradient(0deg, rgba(10, 18, 25, 0.34), rgba(10, 18, 25, 0.04));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  color: #fff;
}

.hero-content::before {
  display: block;
  width: 54px;
  height: 3px;
  margin-bottom: 28px;
  background: var(--red);
  content: "";
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c274;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1 {
  max-width: 660px;
  margin: 0;
  font-size: clamp(2.45rem, 4.8vw, 4.8rem);
  line-height: 1.14;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

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

.btn.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 26px rgba(168, 50, 50, 0.24);
}

.btn.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.hero-panel {
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  bottom: 40px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 1px;
  width: min(560px, calc(100% - 40px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.hero-panel div {
  min-height: 104px;
  padding: 18px 20px;
  background: rgba(10, 18, 24, 0.68);
}

.hero-panel strong {
  display: block;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1.1;
}

.hero-panel span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.section {
  padding: clamp(76px, 9vw, 132px) clamp(20px, 5vw, 72px);
}

.section-heading {
  position: relative;
  max-width: 820px;
  margin-bottom: 44px;
  padding-left: 24px;
}

.section-heading::before {
  position: absolute;
  top: 0.42em;
  bottom: 0.35em;
  left: 0;
  width: 3px;
  background: var(--red);
  content: "";
}

.section-heading h2,
.about-copy h2,
.contact-info h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.1vw, 3.05rem);
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.advantage-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.advantage-card {
  padding: 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: none;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: var(--red);
  border: 1px solid var(--line);
}

.icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.advantage-card h3,
.about-blocks h3,
.service-item h3,
.product-card h3 {
  margin: 20px 0 10px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.25;
}

.advantage-card p,
.about-copy p,
.about-blocks p,
.service-item p,
.product-card p,
.contact-info p {
  margin: 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 82px);
  background:
    linear-gradient(90deg, rgba(247, 245, 240, 0.96), rgba(255, 255, 255, 0.74)),
    repeating-linear-gradient(90deg, rgba(179, 40, 45, 0.05) 0 1px, transparent 1px 56px);
}

.about-copy p {
  margin-top: 24px;
}

.about-blocks {
  display: grid;
  gap: 18px;
}

.about-blocks article {
  padding: 32px;
  border-left: 3px solid var(--red);
  border-radius: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

.about-blocks h3 {
  margin-top: 0;
}

.about-blocks ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.services {
  background: var(--paper);
}

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 98px 1fr;
  gap: 30px;
  align-items: start;
  padding: 34px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.service-item > span {
  color: var(--red);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-item h3 {
  margin-top: 0;
}

.products {
  background: var(--soft);
}

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

.product-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: 2px;
  background: #26313b;
  color: #fff;
}

.product-card::before,
.product-card::after {
  position: absolute;
  content: "";
}

.product-card::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 24, 32, 0.08), rgba(16, 24, 32, 0.82)),
    var(--tile);
}

.product-card::after {
  top: 24px;
  right: 24px;
  width: 74px;
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.product-card h3,
.product-card p {
  position: relative;
  z-index: 1;
  color: #fff;
}

.product-card p {
  color: rgba(255, 255, 255, 0.78);
}

.household {
  --tile: radial-gradient(circle at 72% 22%, #e6c17a 0 0.5rem, transparent 0.55rem),
    linear-gradient(135deg, #28465c, #8c5f40);
}

.beauty {
  --tile: radial-gradient(circle at 72% 22%, #f0d9d9 0 0.5rem, transparent 0.55rem),
    linear-gradient(135deg, #59364a, #c78282);
}

.food {
  --tile: radial-gradient(circle at 72% 22%, #f1d58d 0 0.5rem, transparent 0.55rem),
    linear-gradient(135deg, #4b613f, #b8783d);
}

.electronics {
  --tile: radial-gradient(circle at 72% 22%, #b9d9e6 0 0.5rem, transparent 0.55rem),
    linear-gradient(135deg, #263c55, #4c7a8b);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 88px);
}

.contact-info > p {
  margin-top: 18px;
}

dl {
  margin: 34px 0 0;
}

dl div {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.86rem;
}

dd {
  margin: 4px 0 0;
  color: var(--navy);
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd4dc;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(31, 93, 122, 0.16);
  border-color: var(--blue);
}

.form-submit {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

.form-note {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer {
  padding: 26px clamp(20px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: #101820;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
  }

  .language-switch {
    justify-self: end;
  }

  .hero {
    min-height: 760px;
    padding-top: 136px;
  }

  .hero-panel {
    left: 20px;
    right: 20px;
    width: auto;
  }

  .advantage-grid,
  .product-grid,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
    min-height: 70px;
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .language-switch {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .lang-btn {
    flex: 1;
  }

  .hero {
    min-height: 840px;
    display: block;
    padding: 150px 18px 40px;
  }

  h1 {
    max-width: 11ch;
    font-size: 2.32rem;
    line-height: 1.18;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 28px;
  }

  .hero-panel div {
    min-height: auto;
    padding: 16px 18px;
  }

  .section {
    padding: 66px 18px;
  }

  .advantage-card,
  .about-blocks article,
  .contact-form {
    padding: 24px;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 220px;
  }
}
