/* Roboteks Automations — warm premium marketing styles */
:root {
  --ink: #1c1714;
  --ink-soft: #3d342c;
  --muted: #6f6258;
  --cream: #f7f2eb;
  --cream-dark: #efe6da;
  --paper: #fffcf8;
  --line: rgba(28, 23, 20, 0.1);
  --copper: #c26a3d;
  --copper-deep: #a3552e;
  --copper-soft: #e8c4ad;
  --shadow: 0 18px 50px rgba(28, 23, 20, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1120px;
  --header-h: 72px; /* logo ~52px */
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--copper-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--copper);
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.35rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.55rem); }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

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

.section-lead {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.85rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.85rem 1.35rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

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

.btn-primary:hover {
  background: var(--copper-deep);
  color: #fff;
  border-color: var(--copper-deep);
}

.btn-ghost {
  background: rgba(255, 252, 248, 0.12);
  color: #fff;
  border-color: rgba(255, 252, 248, 0.45);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 252, 248, 0.22);
  color: #fff;
}

.btn-sm { padding: 0.65rem 1.1rem; font-size: 0.88rem; }
.btn-lg { padding: 1rem 1.55rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 235, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.logo:hover { color: var(--ink); opacity: 0.92; }

.logo-img {
  display: block;
  height: 52px;
  width: auto;
  max-width: min(220px, 48vw);
  object-fit: contain;
  border-radius: 8px;
}

.logo-img-footer {
  height: 56px;
  max-width: 180px;
  border-radius: 10px;
  flex-shrink: 0;
}

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

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-nav a:not(.btn):hover {
  color: var(--copper);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: clamp(520px, 88vh, 760px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media .hero-base {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-media .hero-tech {
  position: absolute;
  right: 0;
  top: 0;
  width: min(42%, 560px);
  height: 100%;
  object-fit: contain;
  object-position: center right;
  opacity: 0.9;
  mix-blend-mode: normal;
  padding: 4rem 2rem 4rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
}

.hero-circuit {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(194, 106, 61, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(194, 106, 61, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 20% 30%, rgba(232, 196, 173, 0.2), transparent 40%),
    url("../images/circuit.jpg");
  background-size: 48px 48px, 48px 48px, 100% 100%, cover;
  background-position: center;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 14, 10, 0.88) 0%, rgba(20, 14, 10, 0.62) 42%, rgba(20, 14, 10, 0.45) 100%),
    linear-gradient(to top, rgba(20, 14, 10, 0.82) 0%, transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(3.5rem, 10vw, 6rem) 0 clamp(3rem, 7vw, 4.5rem);
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
  margin-right: 1.25rem;
  width: auto;
}

.hero .eyebrow {
  color: var(--copper-soft);
}

.hero h1 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 252, 248, 0.88);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.hero-note {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 252, 248, 0.7);
}

/* Services */
.services {
  background:
    radial-gradient(ellipse at top right, rgba(194, 106, 61, 0.08), transparent 45%),
    linear-gradient(var(--paper), var(--paper));
  position: relative;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 23, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 23, 20, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  pointer-events: none;
}

.services > .container {
  position: relative;
  z-index: 1;
}

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

.service-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  border-color: rgba(194, 106, 61, 0.35);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  color: var(--copper);
  margin-bottom: 1.1rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.98rem;
}



/* Shades feature */
.shades {
  background:
    radial-gradient(ellipse at top left, rgba(194, 106, 61, 0.07), transparent 42%),
    var(--cream);
}

.shade-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.shade-type-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.45rem 1.35rem;
}

.shade-type-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.shade-type-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.shade-type-card:nth-child(4),
.shade-type-card:nth-child(5) {
  /* on 3-col, last two sit naturally left; center them with span pattern via 6-col on desktop */
}

@media (min-width: 901px) {
  .shade-types {
    grid-template-columns: repeat(6, 1fr);
  }
  .shade-type-card {
    grid-column: span 2;
  }
  .shade-type-card:nth-child(4) {
    grid-column: 2 / span 2;
  }
  .shade-type-card:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

.shade-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
  margin-bottom: 2.75rem;
}

.shade-gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(28, 23, 20, 0.08);
  background: var(--ink);
}

.shade-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

.shade-gallery-wide {
  grid-row: 1 / span 2;
}

.shade-gallery-wide img {
  aspect-ratio: auto;
  min-height: 100%;
}

.shade-subhead {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin: 0 0 1.25rem;
}

.shade-benefit-list {
  list-style: none;
  margin: 0 0 2.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 1.5rem;
}

.shade-benefit-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem;
  display: grid;
  gap: 0.3rem;
  border-left: 3px solid var(--copper);
}

.shade-benefit-list strong {
  font-size: 1.02rem;
}

.shade-benefit-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.shade-brands {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2rem;
}

.shade-brands-label {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}

.shade-brands-text {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.55;
}

.shade-brands-text span {
  display: block;
  margin-top: 0.35rem;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
}

.shade-cta {
  display: flex;
  justify-content: flex-start;
}

@media (max-width: 900px) {
  .shade-types {
    grid-template-columns: 1fr 1fr;
  }
  .shade-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .shade-gallery-wide {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .shade-gallery-wide img {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .shade-types,
  .shade-benefit-list,
  .shade-gallery {
    grid-template-columns: 1fr;
  }
}

/* Tech strip */
.tech-strip {
  padding: 0;
  background: var(--ink);
}

.tech-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.tech-tile {
  margin: 0;
  position: relative;
  overflow: hidden;
  min-height: clamp(180px, 28vw, 280px);
}

.tech-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tech-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 14, 10, 0.72), rgba(20, 14, 10, 0.15) 55%, rgba(20, 14, 10, 0.2));
}

.tech-tile figcaption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.15rem;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.tech-tile:hover img {
  transform: scale(1.04);
}

/* Section electronics backgrounds */
.has-tech-bg {
  position: relative;
  overflow: hidden;
}

.section-tech-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.brands-tech-bg {
  background:
    linear-gradient(160deg, rgba(20, 14, 10, 0.92), rgba(28, 23, 20, 0.88)),
    url("../images/circuit.jpg") center / cover no-repeat;
  opacity: 1;
}

.process-tech-bg {
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.94), rgba(247, 242, 235, 0.92)),
    url("../images/server-room.jpg") center / cover no-repeat;
  opacity: 1;
}

.has-tech-bg > .container {
  position: relative;
  z-index: 1;
}

.brands {
  background: var(--ink);
}

/* Why */
.why {
  background: var(--cream);
}

.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.why-copy > p {
  color: var(--muted);
}

.why-list {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.why-list li {
  display: grid;
  gap: 0.25rem;
  padding-left: 1.15rem;
  border-left: 3px solid var(--copper);
}

.why-list strong {
  font-size: 1.02rem;
}

.why-list span {
  color: var(--muted);
  font-size: 0.96rem;
}

.why-figure {
  margin: 0;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}

.why-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Brands */
.brands {
  background: var(--ink);
  color: rgba(255, 252, 248, 0.88);
}

.brands h2,
.brands .eyebrow {
  color: #fff;
}

.brands .eyebrow { color: var(--copper-soft); }

.brands .section-lead {
  color: rgba(255, 252, 248, 0.68);
}

.brand-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.brand-list li {
  background: rgba(255, 252, 248, 0.05);
  border: 1px solid rgba(255, 252, 248, 0.12);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 120px;
}

.brand-list strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.brand-list span {
  font-size: 0.88rem;
  color: rgba(255, 252, 248, 0.58);
  line-height: 1.45;
}

/* Area */
.area {
  background:
    linear-gradient(135deg, #efe4d6 0%, var(--cream) 50%, #e8d5c4 100%);
}

.area-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
}

.area-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: flex-end;
}

.area-chips li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* Process */
.process {
  background: var(--paper);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}

.process-steps li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem;
  position: relative;
}

.step-num {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--copper);
  margin-bottom: 0.85rem;
}

.process-steps p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Contact */
.contact {
  background:
    linear-gradient(135deg, rgba(247, 242, 235, 0.96), rgba(255, 252, 248, 0.94)),
    url("../images/network-rack.jpg") left bottom / 55% auto no-repeat;
  background-blend-mode: normal;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 242, 235, 0.55), rgba(247, 242, 235, 0.92) 40%, var(--cream) 70%);
  pointer-events: none;
}

.contact > .container {
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.contact-copy > p {
  color: var(--muted);
}

.contact-meta {
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1rem;
}

.contact-meta div {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.contact-meta dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-meta dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}

.contact-meta a {
  color: var(--ink);
  text-decoration: none;
}

.contact-meta a:hover {
  color: var(--copper);
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 3vw, 2.15rem);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 1.1rem;
}

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

.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink-soft);
}

.optional {
  font-weight: 400;
  color: var(--muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(194, 106, 61, 0.18);
}

.form-row textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 252, 248, 0.7);
  padding: 2.75rem 0 2rem;
}

.footer-inner {
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: rgba(255, 252, 248, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--copper-soft);
}

.footer-copy {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 252, 248, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 252, 248, 0.45);
}

/* Responsive */
@media (max-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .why-grid,
  .contact-grid,
  .area-inner {
    grid-template-columns: 1fr;
  }

  .why-figure {
    aspect-ratio: 16 / 10;
    max-height: 420px;
  }

  .area-chips {
    justify-content: flex-start;
  }
}

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

  .site-nav {
    display: none;
    position: absolute;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.35rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 0.75rem 0.5rem;
  }

  .site-nav .btn {
    margin-top: 0.35rem;
    width: 100%;
  }

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

  .brand-list {
    grid-template-columns: 1fr 1fr;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-left: 1.25rem;
  }

  .hero-media .hero-tech {
    width: 100%;
    opacity: 0.42;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 28%, #000 100%);
  }

  .tech-strip-grid {
    grid-template-columns: 1fr;
  }

  .tech-tile {
    min-height: 200px;
  }

  .contact {
    background-image:
      linear-gradient(135deg, rgba(247, 242, 235, 0.97), rgba(255, 252, 248, 0.96)),
      url("../images/network-rack.jpg");
    background-size: auto, cover;
    background-position: left bottom;
  }
}

@media (max-width: 520px) {
  .brand-list,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(100% - 1.75rem, var(--max));
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .service-card { transition: none; }
  .btn:hover, .service-card:hover { transform: none; }
}
