/* ==========================================================================
   Novaterra Sourcing — static site stylesheet
   Palette and typography mirror the reference layout:
     --color-1 charcoal  --color-2 off-white  --color-5 accent blue
   ========================================================================== */

:root {
  --color-1: #515151;
  --color-2: #f9f9f9;
  --color-5: #1f78d1;
  --light-text: #ffffff;
  --dark-text: #333333;
  --muted-text: #6b6b6b;
  --rule: #e2e2e2;
  --header-h: 86px;

  --font-head: 'Julius Sans One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, .12);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, .18);
  --shadow-lg: 0 14px 40px rgba(0, 0, 0, .22);
}

/* ------------------------------------------------------------------ reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--dark-text);
  background: #ffffff;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  color: var(--color-5);
  text-decoration: none;
  transition: color .2s ease;
}

a:hover {
  color: #145da3;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--dark-text);
  margin: 0 0 .6em;
  line-height: 1.25;
  letter-spacing: .02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.35rem);
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}

h4 {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  color: var(--muted-text);
  letter-spacing: .06em;
}

p {
  margin: 0 0 1.1em;
}

/* --------------------------------------------------------------- utilities */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

.section {
  padding: 76px 0;
}

.section--tight {
  padding: 52px 0;
}

.section--dark {
  background: var(--color-1);
  color: var(--light-text);
}

.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: var(--light-text);
}

.section--dark h4 {
  color: rgba(255, 255, 255, .65);
}

.section--muted {
  background: var(--color-2);
}

.text-center {
  text-align: center;
}

/* Left-aligned heading followed by the short accent rule used site-wide */
.section-title {
  margin-bottom: 14px;
}

.rule {
  width: 210px;
  max-width: 55%;
  height: 3px;
  background: var(--color-1);
  border: 0;
  margin: 0 0 34px;
}

.section--dark .rule {
  background: var(--light-text);
}

.rule--center {
  margin-left: auto;
  margin-right: auto;
}

.rule--accent {
  background: var(--color-5);
}

.lead {
  font-size: 1.06rem;
}

/* ----------------------------------------------------------------- buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 14px 40px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
  box-shadow: var(--shadow-md);
}

.btn--primary {
  background: var(--color-1);
  color: #fff;
}

.btn--primary:hover {
  background: #3a3a3a;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--accent {
  background: var(--color-5);
  color: #fff;
}

.btn--accent:hover {
  background: #145da3;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
  box-shadow: none;
}

.btn--ghost:hover {
  background: #fff;
  color: var(--color-1);
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--color-1);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 58px;
  width: auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  position: relative;
  display: block;
  padding: 6px 0;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}

/* underline-from-centre hover, as on the reference site */
.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: width .28s ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.main-nav a.is-active {
  color: #fff;
}

.social {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .12);
  transition: background .22s ease, transform .22s ease;
}

.social a:hover {
  background: var(--color-5);
  transform: translateY(-2px);
}

.social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  padding: 10px;
  cursor: pointer;
  line-height: 0;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

/* --------------------------------------------------------------- home hero */
.hero {
  position: relative;
  background: #2b2b2b url('../images/hero-home.webp') center / cover no-repeat;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, .38) 100%);
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: 40px;
  padding-top: 120px;
  padding-bottom: 180px;
}

.hero-logo img {
  width: min(320px, 80%);
}

.hero-cta {
  text-align: center;
}

.hero-cta h1 {
  color: #fff;
  font-size: clamp(1.35rem, 2.6vw, 1.72rem);
  line-height: 1.45;
  font-weight: 700;
  margin-bottom: 1.6em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .45);
}

/* --------------------------------------------------------- inner page head */
/* The band every inner page opens with, carrying that page's <h1>.
   It is drawn entirely in CSS. The previous version painted
   images/banner-inner.svg at `center / cover`: a 1600x460 artboard scaled into
   a ~200px-tall box keeps only a thin middle slice, so the gradient falloff and
   the accent rule at the foot of the artboard were cropped away and a flat
   near-black slab was all that survived. A gradient sized to the element can't
   crop, so the band holds its shape at any height. */
.page-head {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #3d3d3d 0%, #2c2c2c 52%, #474747 100%);
  color: var(--light-text);
  text-align: center;
  border-bottom: 3px solid var(--color-5);
}

/* the diagonal hatch the old artboard carried, redrawn so it tiles instead */
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(125deg,
      rgba(255, 255, 255, .05) 0 5px,
      rgba(255, 255, 255, 0) 5px 14px);
}

.page-head .container {
  position: relative;
  z-index: 1;
  padding-top: 46px;
  padding-bottom: 50px;
}

.page-head h1 {
  color: var(--light-text);
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.page-head .rule {
  width: 120px;
  max-width: 40%;
  margin: 20px auto 0;
}

.page-head p {
  max-width: 660px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, .82);
  font-size: .95rem;
  letter-spacing: .02em;
}

/* -------------------------------------------------------- two-column prose */
.prose-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.prose-2col p {
  text-align: left;
}

/* --------------------------------------------------------------- card grid */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
}

.card {
  text-align: center;
}

.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover img {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card h3 {
  margin: 26px 0 16px;
  text-transform: capitalize;
}

.card p {
  font-size: .95rem;
  margin-bottom: 0;
}

/* ------------------------------------------------- alternating media rows */
.media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 46px;
  padding: 46px 0;
}

.media-row+.media-row {
  border-top: 1px solid var(--rule);
}

.section--dark .media-row+.media-row {
  border-top-color: rgba(255, 255, 255, .18);
}

.media-row--reverse .media-row__media {
  order: 2;
}

/* cap the height so a portrait image never dwarfs the column beside it */
.media-row__media img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

/* rows that are their own full-bleed band supply the padding themselves */
.section--tight>.container>.media-row {
  padding: 0;
}

.media-row__body h2 {
  margin-bottom: .3em;
}

.media-row__tagline {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--color-5);
  letter-spacing: .04em;
  margin-bottom: 0;
}

.section--dark .media-row__tagline {
  color: #9ecbfa;
}

/* Full-bleed dark band used between PICK rows */
.band-dark {
  background: var(--color-1);
  color: var(--light-text);
}

.band-dark h2,
.band-dark h3 {
  color: var(--light-text);
}

.band-dark h4 {
  color: rgba(255, 255, 255, .66);
}

/* --------------------------------------------------------- product / price */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.product {
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.product img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.product__body {
  padding: 13px 16px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product__cat {
  display: inline-block;
  align-self: flex-start;
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-5);
  padding: 2px 8px;
  margin-bottom: 7px;
}

.product h3 {
  margin: 0 0 4px;
  text-transform: uppercase;
  font-size: .93rem;
  letter-spacing: .03em;
}

.product__spec {
  font-size: .72rem;
  line-height: 1.4;
  color: var(--muted-text);
  letter-spacing: .01em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 7px;
  margin-bottom: 7px;
  min-height: 2.8em;
}

.product__prices {
  list-style: none;
  margin: auto 0 0 0;
  padding: 0;
}

.product__prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: .76rem;
  padding: 3px 0;
}

.product__prices li+li {
  border-top: 1px solid var(--rule);
}

.product__prices span:first-child {
  color: var(--dark-text);
}

.product__prices span:last-child {
  font-weight: 700;
  font-size: .78rem;
  color: var(--color-1);
  white-space: nowrap;
}

/* ------------------------------------------------------------- logo grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* client marks arrive at wildly different aspect ratios; a fixed box plus
   object-fit: contain makes the wall read as one grid */
.logo-grid img {
  width: 100%;
  height: 104px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--rule);
  padding: 14px;
  filter: grayscale(100%);
  opacity: .9;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}

.logo-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-3px);
}

/* -------------------------------------------------------------- timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 12px;
}

.timeline__item {
  text-align: center;
  padding: 30px 22px;
  border: 1px solid rgba(255, 255, 255, .25);
}

.timeline__code {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

.timeline__date {
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #9ecbfa;
}

/* --------------------------------------------------------------- gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.gallery__wide {
  grid-column: span 2;
}

/* --------------------------------------------------------- contact blocks */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.info-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.info-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

.info-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 32px 28px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 120, 209, .3);
}

.info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(31, 120, 209, .06);
  border: 1px solid rgba(31, 120, 209, .28);
  color: var(--color-5);
  margin-bottom: 20px;
}

.info-card__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.info-card h3 {
  font-size: 1.05rem;
  letter-spacing: .05em;
  margin-bottom: 0;
}

.info-card__rule {
  width: 28px;
  height: 2px;
  background: var(--color-5);
  border: 0;
  margin: 14px 0 16px;
}

.info-card p {
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: .5em;
}

.info-card p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------ form */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
  padding: 36px 40px 30px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-text);
  margin-bottom: 7px;
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--dark-text);
  padding: 12px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--color-5);
  box-shadow: 0 0 0 3px rgba(31, 120, 209, .15);
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.form-actions {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 6px;
}

.form-note {
  grid-column: 1 / -1;
  font-size: .8rem;
  color: var(--muted-text);
  text-align: center;
  margin: 0;
}

/* ------------------------------------------------------------------ stats */
.stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.stat__num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--color-5);
  display: block;
  line-height: 1.1;
}

.stat__label {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-text);
}

/* ----------------------------------------------------------------- footer */
.site-footer {
  background: #424242;
  color: #D1D5DB;
  padding: 64px 0 28px;
  font-size: 0.82rem;
  border-top: 1px solid #525252;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: start;
}

.footer-title {
  color: #E5E7EB !important;
  font-family: var(--font-body) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  margin-bottom: 20px !important;
}

.footer-brand-logo {
  max-height: 48px;
  width: auto;
  display: block;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.footer-desc {
  color: #D1D5DB;
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 380px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-social li {
  padding: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.footer-social a:hover {
  background: #FFFFFF;
  color: #1E293B;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.footer-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-location {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.location-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-location p {
  color: #D1D5DB;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0;
}

.contact-location a {
  color: #D1D5DB;
  font-size: 0.8rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-location a:hover {
  color: #FFFFFF;
}

.contact-email {
  margin-top: 24px;
}

.contact-email a {
  color: #D1D5DB;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-email a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.75rem;
  color: #9CA3AF;
}

.footer-tagline {
  font-family: var(--font-body);
  color: #E5E7EB;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-copy {
  color: #9CA3AF;
  font-size: 0.75rem;
}

.footer-copy a {
  color: #D1D5DB;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-copy a:hover {
  color: #FFFFFF;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .main-nav ul {
    gap: 18px;
  }

  .main-nav a {
    font-size: .72rem;
    letter-spacing: .12em;
  }

  .social {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--color-1);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .32s ease;
  }

  .nav-wrap.is-open {
    max-height: 620px;
  }

  .main-nav {
    width: 100%;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .main-nav li {
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .main-nav a {
    padding: 14px 22px;
  }

  .main-nav a::after {
    display: none;
  }

  .main-nav a:hover,
  .main-nav a.is-active {
    background: rgba(255, 255, 255, .09);
  }

  .social {
    display: flex;
    justify-content: center;
    padding: 18px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
  }

  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 76px;
    padding-bottom: 88px;
  }

  .hero-logo img {
    margin: 0 auto 26px;
  }

  .prose-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .media-row {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 34px 0;
  }

  .media-row--reverse .media-row__media {
    order: 0;
  }

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

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

  .gallery__wide {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-contact-grid {
    gap: 24px;
  }

  .section {
    padding: 54px 0;
  }

  .page-head .container {
    padding-top: 34px;
    padding-bottom: 38px;
  }

  .page-head h1 {
    letter-spacing: .12em;
  }

  .page-head p {
    font-size: .9rem;
    margin-top: 14px;
  }

  .page-head .rule {
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  .cards {
    grid-template-columns: 1fr;
  }

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

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

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

  .footer-contact-grid {
    gap: 20px;
  }

  .contact-form {
    grid-template-columns: 1fr;
    padding: 26px 22px 22px;
  }

  .rule {
    max-width: 70%;
  }
}