:root {
  --red: #bd1f2d;
  --red-dark: #921925;
  --black: #171717;
  --text: #242424;
  --muted: #777;
  --line: #e8e5e1;
  --cream: #f5f3ef;
  --white: #fff;
  --container: 1220px;
  --serif: Georgia, "Times New Roman", "Noto Serif SC", serif;
  --sans: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  color: #fff;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--red);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: bold;
}

.brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 2px;
}

.brand small {
  display: block;
  margin-top: -2px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 10px;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.83);
  transition: color 0.25s ease;
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: #fff;
  content: "";
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.nav-contact {
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 760px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.82), rgba(15, 15, 15, 0.16)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=90")
    center / cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 760px;
  padding-top: 80px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--red);
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e5b8b9;
}

.hero h1 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(52px, 7vw, 92px);
  font-weight: normal;
  line-height: 1.08;
  letter-spacing: -3px;
}

.hero-desc {
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 25px;
  border: 1px solid transparent;
  font-size: 12px;
  letter-spacing: 1px;
  transition: 0.25s ease;
}

.btn-primary {
  color: #fff;
  background: var(--red);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.btn-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-light:hover {
  color: var(--black);
  background: #fff;
}

.btn-dark {
  color: #fff;
  background: var(--black);
}

.btn-dark:hover {
  background: var(--red);
}

.hero-card {
  width: 250px;
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(5px);
}

.hero-card-line {
  display: block;
  width: 36px;
  height: 2px;
  margin-bottom: 28px;
  background: #fff;
}

.hero-card p {
  margin-bottom: 4px;
  font-size: 15px;
}

.hero-card strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: normal;
}

.hero-card small {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 2px;
  transform: translateX(-50%);
}

.hero-scroll span {
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.stats-section {
  background: var(--red);
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  padding: 30px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 37px;
  font-weight: normal;
  line-height: 1.15;
}

.stat-item strong span {
  font-family: var(--sans);
  font-size: 17px;
}

.stat-item > span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
}

.section {
  padding: 115px 0;
}

.products-section {
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 55px;
}

.section-heading h2,
.technology-copy h2,
.faq-intro h2,
.contact-section h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 57px);
  font-weight: normal;
  line-height: 1.2;
}

.heading-desc {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.product-card {
  position: relative;
  min-height: 530px;
  overflow: hidden;
  color: #fff;
  background: #333;
}

.product-card-large {
  grid-row: span 2;
  min-height: 1082px;
}

.product-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75), transparent 60%);
  content: "";
}

.product-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card-content {
  position: absolute;
  z-index: 1;
  right: 32px;
  bottom: 30px;
  left: 32px;
}

.product-card-content span {
  color: #eab2b5;
  font-size: 10px;
  letter-spacing: 2px;
}

.product-card-content h3 {
  margin: 7px 0 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: normal;
}

.product-card-content p {
  max-width: 430px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.product-card-content a {
  display: inline-block;
  margin-top: 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.product-card-content a span {
  margin-left: 8px;
  color: #fff;
  font-size: 16px;
}

.technology-section {
  padding: 120px 0;
  background: #fff;
}

.technology-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
}

.technology-image {
  position: relative;
}

.technology-image img {
  height: 640px;
  object-fit: cover;
}

.image-badge {
  position: absolute;
  right: -25px;
  bottom: 35px;
  width: 145px;
  padding: 20px;
  color: #fff;
  background: var(--red);
  font-size: 12px;
  line-height: 1.5;
}

.image-badge span {
  display: block;
  margin-bottom: 5px;
  font-size: 22px;
  font-weight: bold;
}

.technology-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 26px 0 35px;
  color: var(--muted);
  font-size: 14px;
}

.feature-list {
  border-top: 1px solid var(--line);
}

.feature-item {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.feature-number {
  color: var(--red);
  font-family: var(--serif);
  font-size: 20px;
}

.feature-item h3 {
  margin-bottom: 3px;
  font-size: 15px;
}

.feature-item p {
  color: var(--muted);
  font-size: 12px;
}

.text-link {
  display: inline-block;
  margin-top: 30px;
  border-bottom: 1px solid var(--black);
  font-size: 12px;
}

.text-link span {
  margin-left: 10px;
  color: var(--red);
  font-size: 16px;
}

.about-section {
  background: var(--cream);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 100px;
}

.about-text {
  max-width: 650px;
  color: #555;
  font-size: 15px;
}

.about-text p + p {
  margin-top: 20px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.about-tags span {
  padding: 8px 16px;
  border: 1px solid #d9d3cc;
  color: #555;
  font-size: 11px;
}

.about-timeline {
  border-left: 1px solid #d9d3cc;
}

.timeline-item {
  position: relative;
  padding: 0 0 40px 35px;
}

.timeline-item::before {
  position: absolute;
  top: 7px;
  left: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  content: "";
}

.timeline-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--red);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: normal;
}

.timeline-item span {
  color: #555;
  font-size: 13px;
}

.service-section {
  padding: 90px 0;
  color: #fff;
  background: var(--black);
}

.service-header {
  margin-bottom: 48px;
}

.service-header .eyebrow {
  color: #d8989c;
}

.service-header h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: normal;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item {
  min-height: 220px;
  padding: 30px 25px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.service-item:last-child {
  border-right: 0;
}

.service-icon {
  display: block;
  margin-bottom: 25px;
  color: #d8a0a2;
  font-family: var(--serif);
  font-size: 35px;
}

.service-item h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: normal;
}

.service-item p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
}

.articles-section {
  background: #fff;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.article-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 235px;
  border: 1px solid var(--line);
  background: #fff;
}

.article-image {
  overflow: hidden;
}

.article-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1.06);
}

.article-content {
  padding: 27px;
}

.article-date {
  color: var(--red);
  font-size: 10px;
  letter-spacing: 1px;
}

.article-content h3 {
  margin: 12px 0 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: normal;
  line-height: 1.35;
}

.article-content p {
  color: var(--muted);
  font-size: 12px;
}

.article-read {
  margin-top: 16px;
  border: 0;
  border-bottom: 1px solid #aaa;
  color: var(--text);
  background: transparent;
  font-size: 11px;
}

.empty-articles {
  display: none;
  padding: 30px;
  color: var(--muted);
  border: 1px dashed var(--line);
  text-align: center;
}

.faq-section {
  background: var(--cream);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 100px;
}

.faq-intro > p:not(.eyebrow) {
  max-width: 340px;
  margin: 25px 0;
  color: var(--muted);
  font-size: 14px;
}

.phone-link {
  color: var(--red);
  font-family: var(--serif);
  font-size: 27px;
}

.faq-list {
  border-top: 1px solid #d9d4ce;
}

.faq-item {
  border-bottom: 1px solid #d9d4ce;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 0;
  border: 0;
  color: var(--text);
  background: transparent;
  font-size: 15px;
  text-align: left;
}

.faq-question span {
  color: var(--red);
  font-size: 22px;
  font-weight: 300;
  transition: transform 0.25s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer p {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
  padding-bottom: 22px;
}

.faq-item.active .faq-question span {
  transform: rotate(45deg);
}

.contact-section {
  padding: 110px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.96), rgba(18, 18, 18, 0.76)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?auto=format&fit=crop&w=2200&q=85")
    center / cover;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 100px;
  align-items: center;
}

.contact-section .eyebrow {
  color: #d8989c;
}

.contact-section h2 {
  font-size: clamp(42px, 5vw, 65px);
}

.contact-intro {
  max-width: 410px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.contact-info {
  padding: 35px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.25);
}

.contact-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-row span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

.contact-row strong {
  font-size: 13px;
  font-weight: normal;
}

.contact-row a {
  color: #fff;
  font-size: 20px;
}

.contact-btn {
  margin-top: 25px;
}

.site-footer {
  color: #fff;
  background: #111;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 50px 0;
}

.footer-brand p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
}

.modal {
  position: fixed;
  z-index: 99;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.show {
  display: grid;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-box {
  position: relative;
  z-index: 1;
  width: min(580px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 42px;
  background: #fff;
}

.modal-box h2 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: normal;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  color: #555;
  background: transparent;
  font-size: 29px;
  line-height: 1;
}

.modal-box label {
  display: block;
  margin-top: 18px;
  color: #555;
  font-size: 12px;
}

.modal-box input,
.modal-box textarea,
.modal-box select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid #ddd;
  outline: 0;
  color: var(--text);
  background: #fff;
  font-size: 13px;
}

.modal-box input:focus,
.modal-box textarea:focus,
.modal-box select:focus {
  border-color: var(--red);
}

.modal-submit {
  width: 100%;
  margin-top: 25px;
}

.toast {
  position: fixed;
  z-index: 120;
  right: 25px;
  bottom: 25px;
  display: none;
  padding: 13px 20px;
  color: #fff;
  background: var(--black);
  font-size: 13px;
}

.toast.show {
  display: block;
  animation: toastIn 0.3s ease;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.custom-article {
  position: relative;
}

.delete-article {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  font-size: 16px;
}

@media (max-width: 900px) {
  .container {
    width: min(var(--container), calc(100% - 40px));
  }

  .main-nav {
    gap: 15px;
  }

  .hero-card {
    display: none;
  }

  .technology-layout,
  .about-grid,
  .faq-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .technology-image img {
    height: 520px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-item:nth-child(2) {
    border-right: 0;
  }

  .service-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 650px) {
  .container {
    width: calc(100% - 32px);
  }

  .nav-wrap {
    min-height: 75px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 70px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #171717;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px;
  }

  .main-nav a:not(.nav-contact)::after {
    display: none;
  }

  .nav-contact {
    text-align: center;
  }

  .hero,
  .hero-content {
    min-height: 680px;
  }

  .hero h1 {
    font-size: 57px;
  }

  .hero-desc {
    font-size: 13px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .section {
    padding: 75px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 35px;
  }

  .heading-desc {
    margin-top: 20px;
  }

  .section-heading .btn {
    margin-top: 25px;
  }

  .product-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .product-card-large {
    min-height: 470px;
  }

  .technology-image img {
    height: 430px;
  }

  .image-badge {
    right: 15px;
    bottom: 20px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .service-item:last-child {
    border-bottom: 0;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-image {
    height: 220px;
  }

  .contact-info {
    padding: 24px;
  }

  .footer-top,
  .footer-bottom {
    display: block;
  }

  .footer-links {
    flex-wrap: wrap;
    margin-top: 25px;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }

  .modal-box {
    padding: 30px 22px;
  }
}