@import url("fonts.css");

body {
  font-family: var(--font-main);
  color: var(--armex-text);
  background: var(--armex-white);
  direction: rtl;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 4.5rem;
}

.section--light {
  background: var(--armex-light);
}

.section--dark {
  background: var(--armex-navy);
  color: var(--armex-white);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--armex-red);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--armex-navy);
  line-height: 1.4;
  margin-bottom: 1rem;
}

.section--dark .section__title {
  color: var(--armex-white);
}

.section__desc {
  font-size: 1rem;
  color: var(--armex-muted);
  line-height: 1.8;
}

.section--dark .section__desc {
  color: rgba(255, 255, 255, 0.75);
}

.page-hero {
  padding-block: 3rem 2rem;
  background: var(--armex-light);
}

.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--armex-navy);
  margin-bottom: 1rem;
}

.page-hero__subtitle {
  font-size: 1.125rem;
  color: var(--armex-muted);
  max-width: 640px;
}

.page-hero__intro {
  font-size: 1rem;
  color: var(--armex-text);
  max-width: 720px;
  margin-top: 1.25rem;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--armex-red);
  font-weight: 600;
  transition: color var(--transition);
}

.text-link:hover {
  color: #b0002a;
}

.text-link svg {
  width: 18px;
  height: 18px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--armex-light);
  border: 1px dashed var(--armex-border);
  border-radius: var(--radius);
  color: var(--armex-muted);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  padding: 2rem;
  aspect-ratio: 4/3;
}

.img-placeholder--square {
  aspect-ratio: 1/1;
}

.content-block {
  max-width: 800px;
}

.content-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--armex-navy);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--armex-navy);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
}

.content-block p {
  color: var(--armex-text);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-block ul {
  list-style: disc;
  padding-right: 1.5rem;
  margin-bottom: 1rem;
}

.content-block ul li {
  margin-bottom: 0.5rem;
  color: var(--armex-text);
}

.specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  margin-block: 2rem;
}

.specs-list li {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9375rem;
}

.specs-list li strong {
  color: var(--armex-navy);
  white-space: nowrap;
}

.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
}

.check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  background: var(--armex-red);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-block: 2rem;
}

.gallery img,
.gallery .img-placeholder {
  border-radius: var(--radius-sm);
  aspect-ratio: 1/1;
  object-fit: cover;
}

.gallery__main {
  grid-column: 1 / -1;
}

.gallery__main img,
.gallery__main .img-placeholder {
  aspect-ratio: 16/9;
  max-height: 480px;
  width: 100%;
  object-fit: cover;
}
