/* Color Channels — Professional Printing Equipment Services */
:root {
  --red: #e31e24;
  --red-dark: #b8161b;
  --black: #0a0a0a;
  --ink: #141414;
  --muted: #5c5c5c;
  --line: #e6e6e6;
  --surface: #f5f5f5;
  --white: #ffffff;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Helvetica Neue", sans-serif;
  --max: 1140px;
  --header-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.98);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 32px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav > a,
.nav-dropdown > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  list-style: none;
  border: none;
  background: none;
  transition: color 0.2s;
}

.nav > a:hover,
.nav > a.is-active,
.nav-dropdown > summary:hover,
.nav-dropdown[open] > summary {
  color: var(--white);
}

.nav > a.is-active {
  color: var(--red);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform 0.2s;
}

.nav-dropdown[open] > summary::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 240px;
  background: var(--black);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.nav-dropdown[open] .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.7rem 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: rgba(227, 30, 36, 0.15);
  color: var(--white);
}

.nav > a.nav-cta {
  margin-left: 0.75rem;
  padding: 0.55rem 1.2rem;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  border: 1px solid var(--red);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.nav > a.nav-cta:hover,
.nav > a.nav-cta.is-active {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.25s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  color: var(--white);
  overflow: hidden;
}

.hero--page {
  min-height: 52vh;
  align-items: flex-end;
  padding-bottom: 3.5rem;
}

.hero > .container {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.55) 48%, rgba(10, 10, 10, 0.28) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, 0.75) 0%, transparent 45%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  width: 100%;
  margin-inline: 0;
  text-align: left;
  animation: fadeUp 0.9s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__brand {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--red);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: #222;
}

/* Sections */
.section {
  padding: 5.5rem 0;
}

.section--alt {
  background: var(--surface);
}

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

.section-head {
  max-width: 560px;
  margin-bottom: 3rem;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.65rem;
}

.section-head h2,
.page-intro h2,
.block-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin-bottom: 0.75rem;
}

.section-head p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.section--dark .section-head p,
.section--dark .lead {
  color: rgba(255, 255, 255, 0.65);
}

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

.feature-card {
  padding: 1.75rem 1.5rem;
  border-top: 3px solid var(--red);
  background: var(--white);
  transition: transform 0.35s var(--ease);
}

.section--alt .feature-card {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.85;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 650;
  margin-bottom: 0.55rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  overflow: hidden;
  transition: transform 0.35s var(--ease);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-card:hover .service-card__img img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1.5rem 1.35rem 1.75rem;
  border: 1px solid var(--line);
  border-top: none;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card .link-arrow {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
}

.service-card .link-arrow::after {
  content: " →";
  transition: margin-left 0.2s;
}

.service-card:hover .link-arrow::after {
  margin-left: 4px;
}

/* About page */
.about-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.about-layout img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.about-copy p + p {
  margin-top: 1rem;
}

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

/* Service detail */
.provide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.provide-item {
  padding: 1.35rem 1.25rem;
  background: var(--surface);
  border-left: 3px solid var(--red);
  font-weight: 600;
  font-size: 0.98rem;
}

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

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.25rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.benefit-item::before {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.4rem;
  background: var(--red);
}

.benefit-item span {
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  margin-bottom: 0.85rem;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 38ch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.contact-item dt {
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.3rem;
}

.contact-item dd {
  font-size: 1.05rem;
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--red);
}

.contact-form {
  background: var(--surface);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid #d4d4d4;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-success {
  display: none;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 0.95rem;
}

.form-success.is-visible {
  display: block;
}

/* CTA band */
.cta-band {
  padding: 4.5rem 0;
  background:
    linear-gradient(105deg, rgba(10, 10, 10, 0.92), rgba(227, 30, 36, 0.75)),
    url("../images/hero-home.jpg") center / cover;
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
  max-width: 42ch;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 32ch;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Mobile */
@media (max-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .about-layout,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .about-layout img {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s, visibility 0.35s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav > a,
  .nav-dropdown > summary {
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav > a.nav-cta {
    margin: 1rem 0 0;
    text-align: center;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: rgba(255, 255, 255, 0.03);
    min-width: 0;
    display: none;
    padding-left: 0.5rem;
  }

  .nav-dropdown[open] .dropdown-menu {
    display: block;
  }

  .hero {
    min-height: 88vh;
    padding-bottom: 3rem;
  }

  .hero h1 {
    max-width: none;
  }

  .features-grid,
  .services-grid,
  .provide-grid,
  .benefits-list,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .contact-form {
    padding: 1.35rem;
  }
}
