:root {
  --red: #c8222f;
  --orange: #e8822b;
  --accent: #e8822b;
  --dark: #5b5756;
  --ink: #1f1f1f;
  --muted: #706966;
  --paper: #f4f4f2;
  --line: #c9c0bc;
  --white: #ffffff;
  --max: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Avenir, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  letter-spacing: 0;
}

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

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

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.brand {
  width: 142px;
}

.main-nav {
  display: flex;
  gap: 32px;
  color: #2b2928;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 650px;
  padding-top: 84px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.72) 73%, #fff 100%),
    url("assets/agencia de ventas y marketing.jpg") center top / cover no-repeat;
  text-align: center;
}

.hero-copy {
  width: min(100% - 40px, 820px);
  margin: 170px auto 0;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.6rem);
  line-height: 1;
  font-weight: 400;
}

.hero h1,
.hero h1 strong,
.hero h1 em {
  display: block;
}

.hero h1 {
  margin: -4px 0 6px;
  font-weight: 400;
}

.hero h1 strong {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.88;
  font-weight: 900;
  font-style: normal;
}

.hero h1 em {
  display: inline-block;
  margin: 0;
  padding: 0 16px 8px;
  border-top: 2px solid #2b2928;
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
  text-transform: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 18px;
  border: 2px solid var(--red);
  color: var(--red);
  background: transparent;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-button {
  display: flex;
  width: max-content;
  margin-top: 34px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}

.architecture-mark {
  position: absolute;
  inset: auto 0 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: #55504d;
  font-size: clamp(1.1rem, 2.4vw, 1.65rem);
  text-transform: uppercase;
}

.brain-mark {
  display: block;
  width: clamp(72px, 8vw, 106px);
  height: auto;
  object-fit: contain;
}

.section {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
  padding: clamp(44px, 5vw, 64px) 0;
}

.section-title {
  margin-bottom: 44px;
  text-align: center;
}

.section-title h2 {
  margin: 0;
  color: #71615d;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1;
  font-weight: 900;
}

.section-title p {
  margin: 8px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.pillars article {
  text-align: center;
}

.icon-dot {
  display: grid;
  place-items: center;
  width: 126px;
  height: 126px;
  margin: 0 auto 24px;
  border: 2px solid #ef4851;
  border-radius: 50%;
  color: var(--red);
  font-size: 2.25rem;
  font-weight: 900;
}

h3 {
  margin: 0 0 16px;
  color: var(--red);
  font-size: 1.12rem;
  line-height: 1.2;
  text-transform: none;
}

p,
li {
  color: #4f4b49;
  font-size: 1.03rem;
  line-height: 1.58;
}

ul {
  margin: 12px 0;
  padding-left: 18px;
  text-align: left;
}

.value {
  padding-top: 52px;
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 34px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  text-align: left;
}

.value-grid article {
  min-height: 320px;
  padding: clamp(32px, 4vw, 46px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.value-grid h3 {
  color: #df6f22;
  text-transform: uppercase;
}

.services {
  padding: clamp(54px, 6vw, 68px) 0 clamp(58px, 6vw, 74px);
  background: var(--red);
  color: var(--white);
  text-align: center;
}

.service-inner {
  width: min(100% - 48px, var(--max));
  margin: 0 auto;
}

.services h2 {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
}

.kicker {
  margin: 12px 0;
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
}

.services p,
.services h3,
.services li {
  color: #fff;
}

.services ul {
  display: grid;
  gap: 3px;
  max-width: 190px;
  margin: 14px auto 0;
  padding-left: 0;
  list-style: none;
  text-align: center;
  text-transform: uppercase;
}

.services li {
  font-size: 0.9rem;
  line-height: 1.32;
  font-weight: 700;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: 58px;
}

.service-list span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  font-size: 1.75rem;
  font-weight: 900;
}

.service-list h3 {
  color: #fff;
  font-size: 1.38rem;
  line-height: 1.1;
}

.business-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.business-band article {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: clamp(42px, 5vw, 66px) clamp(54px, 8vw, 128px);
}

.business-band h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.business-band h3 {
  color: #fff;
}

.business-band p {
  max-width: 520px;
  color: #fff;
  font-size: 1.08rem;
}

.orange {
  background: var(--orange);
}

.gray {
  background: #d8c3b3;
}

.gray h2,
.gray h3,
.gray p {
  color: #67534d;
}

.light {
  border-color: #fff;
  color: #fff;
}

.kpis,
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.kpi-image,
.metric-photo {
  min-height: 520px;
}

.kpi-image img,
.metric-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kpi-copy {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 56px clamp(46px, 7vw, 112px);
  background: #fff;
}

.kpi-item {
  display: grid;
  grid-template-columns: 78px minmax(260px, 430px);
  gap: 24px;
  align-items: center;
}

.kpi-item span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #050505;
  color: #fff;
  font-size: 1.12rem;
  font-weight: 900;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.16);
}

.kpi-item p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.56;
}

.kpi-item strong {
  display: block;
  margin-bottom: 2px;
  color: #45413f;
  font-size: 1.08rem;
}

.metric-copy {
  display: grid;
  align-content: center;
  padding: 56px clamp(42px, 8vw, 132px);
  background: #fff;
}

.metric-copy h2 {
  margin: 0 0 38px;
  font-size: clamp(2.15rem, 3.2vw, 3rem);
  line-height: 1;
}

.bar {
  display: grid;
  grid-template-columns: 118px minmax(210px, 360px) 58px;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  color: #191919;
  font-size: 1.08rem;
  font-weight: 900;
}

.bar strong {
  display: block;
  width: var(--metric-width);
  height: 12px;
  background: var(--red);
  transform-origin: left center;
}

.bar em {
  color: #191919;
  font-size: 1.08rem;
  font-style: normal;
}

.sales-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #4f4d4c;
  color: #fff;
  text-align: center;
}

.sales-strip article {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 36px 24px 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0)),
    #636160;
}

.sales-strip span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 4px;
  border: 2px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
}

.sales-strip h3,
.sales-strip p {
  margin: 0;
  color: #fff;
}

.sales-strip h3 {
  font-size: 1.7rem;
  font-weight: 900;
}

.sales-strip p {
  font-size: 1rem;
  line-height: 1.2;
}

.sales-strip a {
  display: inline-flex;
  margin-top: 10px;
  padding: 9px 20px;
  border: 2px solid #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sales-strip a:hover,
.sales-strip a:focus-visible {
  background: #fff;
  color: #5a5756;
  transform: translateY(-2px);
}

.experts {
  min-height: auto;
}

.expert-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  text-align: center;
}

.expert-grid article {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 230px;
  padding: 28px 22px;
  border: 1px solid rgba(112, 105, 102, 0.18);
  background:
    linear-gradient(180deg, rgba(232, 130, 43, 0.08), rgba(255, 255, 255, 0) 58%),
    #fff;
}

.expert-grid span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.7rem;
  font-weight: 900;
}

.expert-grid h3 {
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 1.22rem;
}

.expert-grid p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.blog-links {
  padding-top: 20px;
  padding-bottom: 72px;
}

.post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.post-list a {
  position: relative;
  display: grid;
  min-height: 156px;
  align-content: space-between;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(112, 105, 102, 0.2);
  color: var(--red);
  background: #fff;
  font-weight: 900;
  line-height: 1.25;
  box-shadow: 0 18px 44px rgba(31, 31, 31, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.post-list a::after {
  content: "";
  position: absolute;
  inset: auto 28px 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}

.post-list a:hover,
.post-list a:focus-visible {
  border-color: rgba(200, 34, 47, 0.42);
  box-shadow: 0 22px 54px rgba(31, 31, 31, 0.1);
  transform: translateY(-4px);
}

.post-list a:hover::after,
.post-list a:focus-visible::after {
  transform: scaleX(1);
}

.post-list span {
  color: var(--orange);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.post-list em {
  color: #6d5d59;
  font-size: 0.78rem;
  font-style: normal;
  text-transform: uppercase;
}

blockquote {
  margin: 58px 0 0;
  color: #6d5d59;
  text-align: center;
}

blockquote strong,
blockquote span {
  display: block;
}

blockquote strong {
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  line-height: 1.05;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 36px;
}

.portfolio-grid figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8.2;
  margin: 0;
  padding: 0;
  border: 0;
  background: #fff;
  perspective: 1200px;
}

.portfolio-grid img,
.portfolio-grid figcaption {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  transition: transform 0.72s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.portfolio-grid img {
  object-fit: cover;
  filter: saturate(0.94);
}

.portfolio-card:hover img,
.portfolio-card:focus-within img {
  transform: rotateY(-180deg);
}

.portfolio-grid figcaption {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(200, 34, 47, 0.92), rgba(232, 130, 43, 0.9)),
    #c8222f;
  text-align: center;
  transform: rotateY(180deg);
}

.portfolio-card:hover figcaption,
.portfolio-card:focus-within figcaption {
  transform: rotateY(0);
}

.portfolio-grid figcaption h3 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  text-transform: none;
}

.portfolio-grid figcaption p {
  max-width: 28ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.35;
}

.portfolio-grid figcaption a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-grid figcaption a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

.contact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(34px, 5vw, 64px);
  padding: clamp(50px, 6vw, 70px) clamp(34px, 8vw, 120px);
  background: #070707;
  color: #fff;
}

.contact-info {
  display: grid;
  align-content: start;
  gap: 24px;
}

.contact h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 3.5vw, 3.25rem);
  line-height: 0.98;
}

.contact h3 {
  margin: 0 0 8px;
  color: #fff;
  text-transform: uppercase;
}

.contact p,
.contact a {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.contact-info > p {
  max-width: 620px;
  margin: 0;
  font-size: 1.08rem;
}

.contact-cards {
  display: grid;
  gap: 14px;
}

.contact-cards article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
}

.contact-cards span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 1.3rem;
}

.contact-cards p,
.contact-cards a {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.contact-cards a {
  width: max-content;
  max-width: 100%;
  font-weight: 800;
}

.whatsapp-card {
  border-color: rgba(53, 185, 85, 0.38) !important;
}

.whatsapp-card span {
  background: #35b955;
}

.whatsapp-card a {
  margin-top: 12px;
  padding: 8px 14px;
  border: 2px solid #35b955;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  align-content: start;
  padding: clamp(24px, 3vw, 34px);
  background: #f7f7f7;
  color: #56504e;
}

.lead-form h3,
.lead-form label:nth-last-of-type(1),
.lead-form .submit {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d8d4d2;
  background: #fff;
  font: inherit;
}

textarea {
  width: 100%;
  min-height: 128px;
  resize: vertical;
  border: 1px solid #d8d4d2;
  background: #fff;
  font: inherit;
}

.lead-form h3 {
  margin: 0 0 6px;
  color: #56504e;
  font-size: 1.2rem;
}

.submit {
  width: 140px;
  margin-top: 6px;
  background: var(--red);
  color: #fff;
}

.whatsapp {
  position: absolute;
  right: 16px;
  bottom: 10px;
  display: inline-flex !important;
  width: auto;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 14px;
  background: #35b955;
  color: #fff !important;
  font-size: 0.78rem;
}

.whatsapp .icon {
  width: 1rem;
  height: 1rem;
}

.architecture-template {
  background: #050505;
}

.architecture-template .site-header {
  width: min(100% - 48px, 1120px);
  border-bottom: 2px solid rgba(255, 255, 255, 0.74);
}

.architecture-template .main-nav {
  color: #fff;
}

.architecture-template .main-nav a {
  opacity: 0.84;
}

.architecture-template .main-nav a:hover,
.architecture-template .main-nav a:focus-visible,
.architecture-template .main-nav a[aria-current="page"] {
  opacity: 1;
}

.architecture-page {
  color: #fff;
  background: #050505;
}

.arch-hero {
  position: relative;
  display: grid;
  min-height: 620px;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

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

.arch-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.42)),
    rgba(0, 0, 0, 0.1);
}

.arch-hero__media img,
.arch-keywords img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch-hero__content {
  width: min(100% - 36px, 760px);
  margin-top: 48px;
  text-transform: uppercase;
}

.arch-eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.arch-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.4rem, 8vw, 6.8rem);
  line-height: 0.88;
  font-weight: 900;
}

.title-line {
  display: block;
}

.seo-space {
  font-size: 0;
  line-height: 0;
}

.arch-button {
  margin-top: 38px;
  border-color: #e19a3c;
  color: #fff;
  background: rgba(0, 0, 0, 0.18);
}

.arch-button:hover,
.arch-button:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #111;
}

.arch-method {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(54px, 7vw, 86px) clamp(22px, 8vw, 130px);
  background: #b93333;
  text-align: center;
}

.arch-method p,
.arch-method strong {
  width: min(100%, 900px);
}

.arch-method p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.35;
}

.arch-method > p:first-child {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.arch-method h2 {
  margin: -10px 0 18px;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
}

.arch-method strong {
  display: block;
  color: #fff;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.arch-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
  margin: 0 auto;
  padding: 70px max(28px, calc((100% - 1080px) / 2)) 72px;
  background: #fff;
}

.arch-steps article {
  min-height: 116px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #efbd4f, #dd7a34);
  color: #171717;
}

.arch-steps span {
  display: block;
  font-size: 1rem;
  font-weight: 900;
}

.arch-steps h2 {
  max-width: 230px;
  margin: 2px 0 0;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.arch-conversion {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.8fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  width: 100%;
  margin: 0 auto;
  padding: 0 max(28px, calc((100% - 1080px) / 2)) 86px;
  background: #fff;
}

.arch-conversion__copy {
  color: #2f2b29;
}

.arch-conversion__copy p {
  margin: 0 0 8px;
  color: #c62832;
  font-weight: 900;
}

.arch-conversion__copy h2 {
  margin: 0 0 18px;
  color: #181818;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  line-height: 0.95;
  font-weight: 900;
  text-transform: uppercase;
}

.arch-conversion__copy strong {
  display: block;
  max-width: 460px;
  color: #c62832;
  font-size: clamp(1.15rem, 1.8vw, 1.38rem);
  line-height: 1.15;
}

.arch-conversion__copy ol {
  display: grid;
  gap: 12px;
  margin: 38px 0 0;
  padding: 0;
  color: #57514f;
  font-size: 1.05rem;
  font-weight: 900;
  list-style: none;
}

.arch-button--dark {
  border-color: #c62832;
  color: #c62832;
  background: transparent;
}

.arch-button--dark:hover,
.arch-button--dark:focus-visible {
  border-color: #c62832;
  background: #c62832;
  color: #fff;
}

.arch-conversion__image {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
}

.arch-conversion__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch-conversion__image figcaption {
  position: absolute;
  top: 48px;
  right: 24px;
  width: min(72%, 300px);
  padding: 34px 28px;
  background: rgba(255, 255, 255, 0.94);
  color: #47403d;
  font-size: 1.18rem;
  line-height: 1.2;
  text-align: center;
}

.arch-services {
  padding: clamp(48px, 6vw, 72px) 0 80px;
  background: linear-gradient(180deg, #202625 0 300px, #fff 300px 100%);
}

.arch-services__title {
  width: min(100% - 40px, 760px);
  margin: 0 auto 42px;
  text-align: center;
}

.arch-services__title h2,
.arch-keywords h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 0.95;
  font-weight: 900;
}

.arch-services__title p,
.arch-keywords p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1;
  font-weight: 900;
}

.arch-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: min(100% - 40px, 1100px);
  margin: 0 auto;
}

.arch-service-grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 560px;
  border: 3px solid #b93333;
  background: #f1f3f3;
  color: #34302e;
}

.arch-service-grid h3 {
  min-height: 96px;
  margin: 0;
  padding: 22px 18px 18px;
  background: #bb3736;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.arch-service-grid ul {
  display: grid;
  align-content: start;
  gap: 18px;
  margin: 0;
  padding: 36px 28px;
  list-style: none;
  text-align: center;
}

.arch-service-grid li {
  font-size: 1rem;
  line-height: 1.2;
  font-weight: 800;
}

.arch-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(100% - 40px, 1060px);
  margin: 48px auto 0;
  padding: 30px clamp(28px, 7vw, 86px);
  background: #bb3736;
}

.arch-cta p {
  margin: 0;
  max-width: 680px;
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.55rem);
  line-height: 0.98;
  font-weight: 900;
}

.arch-keywords {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 560px;
  overflow: hidden;
  background: #171717;
}

.arch-keywords__copy {
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(42px, 7vw, 84px) clamp(24px, 6vw, 64px);
}

.arch-keywords h2 {
  display: inline;
  padding: 8px 0;
  color: #fff;
  background: #171717;
}

.arch-keywords p {
  margin-top: -18px;
}

.arch-keywords strong {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1rem;
}

.arch-keywords ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.05;
  font-weight: 700;
  list-style: none;
}

.arch-keywords li {
  color: #fff;
}

.arch-keywords img {
  min-height: 560px;
}

.automation-page .arch-method {
  grid-template-columns: minmax(360px, 0.96fr) minmax(360px, 1fr);
  justify-items: start;
  align-items: start;
  gap: 10px 62px;
  padding: 54px max(34px, calc((100% - 1080px) / 2)) 34px;
  background: #c33334;
  text-align: left;
}

.automation-page .arch-method > p:first-child,
.automation-page .arch-method h2 {
  grid-column: 1;
}

.automation-page .arch-method strong {
  grid-column: 2;
}

.automation-page .arch-method h2 {
  max-width: 470px;
  margin: -6px 0 0;
  font-size: clamp(2.05rem, 3.2vw, 2.95rem);
  line-height: 1.03;
}

.automation-page .arch-method h2 span {
  display: block;
}

.automation-page .arch-method h2 em {
  font-style: normal;
  font-weight: 400;
}

.automation-page .arch-method strong {
  width: min(100%, 470px);
}

.automation-page .arch-method strong {
  margin-top: 26px;
  font-size: clamp(1.06rem, 1.55vw, 1.35rem);
  line-height: 1.2;
}

.auto-hero {
  min-height: 560px;
}

.auto-hero .arch-hero__content {
  width: min(100% - 36px, 720px);
}

.auto-hero h1 {
  font-size: clamp(3rem, 6.6vw, 5.4rem);
}

.auto-steps {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px 26px;
  padding-top: 0;
  padding-bottom: 54px;
  background: #c33334;
}

.auto-steps article {
  min-height: 102px;
  padding: 20px 28px;
  background: #fff;
  color: #24211f;
}

.auto-steps article:nth-child(6) {
  background: linear-gradient(135deg, #efbd4f, #dd7a34);
  color: #fff;
}

.auto-steps h2 {
  max-width: 230px;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.08;
  font-weight: 400;
}

.auto-steps span {
  font-weight: 400;
}

.auto-system {
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 0.58fr) 230px;
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
  padding-top: 68px;
  padding-bottom: 0;
  background: #fff;
}

.auto-system .arch-conversion__image {
  grid-column: 1;
  grid-row: 1;
  min-height: 560px;
}

.auto-system .arch-conversion__image figcaption {
  top: 44px;
  left: 24px;
  right: auto;
}

.auto-system .arch-conversion__copy {
  grid-column: 2;
  grid-row: 1;
  color: #111;
}

.auto-system .arch-conversion__copy p:first-child {
  color: #d3222f;
  font-size: 1rem;
  font-weight: 400;
}

.auto-system .arch-conversion__copy h2 {
  color: #070707;
  font-size: clamp(1.85rem, 2.45vw, 2.35rem);
  line-height: 1.02;
}

.auto-system .arch-conversion__copy h2 span {
  display: block;
  white-space: nowrap;
}

.auto-system .arch-conversion__copy h2 em {
  font-style: normal;
  font-weight: 400;
}

.auto-system .arch-conversion__copy p:not(:first-child) {
  color: #111;
  font-size: clamp(1.12rem, 1.55vw, 1.36rem);
  font-weight: 400;
  line-height: 1.25;
}

.auto-system__intro {
  display: grid;
  gap: 14px;
}

.auto-system__details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.62fr);
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  margin-top: 42px;
}

.auto-system__benefits {
  display: grid;
  gap: 28px;
}

.auto-system .arch-conversion__copy strong {
  margin-top: 42px;
  color: #d3222f;
  font-size: clamp(1.25rem, 1.75vw, 1.55rem);
  line-height: 1.1;
}

.auto-system .arch-conversion__copy strong span {
  display: block;
}

.auto-system .arch-conversion__copy strong span:first-child {
  font-weight: 900;
}

.auto-system .arch-conversion__copy strong span:last-child {
  font-weight: 400;
}

.auto-system .arch-conversion__copy ol {
  gap: 10px;
  color: #111;
  font-size: clamp(0.98rem, 1.18vw, 1.08rem);
  font-weight: 400;
}

.auto-system__card {
  display: grid;
  gap: 26px;
  align-content: center;
  align-self: center;
  min-height: 300px;
  padding: 42px 26px 26px;
  background: #eeeeec;
  color: #222;
}

.auto-system__card h3 {
  margin: 0;
  color: #222;
  font-size: clamp(1.25rem, 1.55vw, 1.48rem);
  line-height: 1.05;
  font-weight: 500;
  text-transform: uppercase;
}

.auto-system__card .arch-button--dark {
  border-color: #d9872f;
  color: #111;
}

.auto-system .arch-conversion__copy h2 {
  max-width: 620px;
}

.auto-system__summary {
  grid-column: 1 / -1;
  grid-row: 2;
  margin: 34px 0 0;
  padding: 36px max(20px, calc((100% - 780px) / 2)) 42px;
  border-top: 1px solid #1b1b1b;
  color: #070707;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.25;
  text-align: center;
}

.auto-challenges {
  padding: clamp(42px, 5vw, 62px) max(28px, calc((100% - 1100px) / 2)) clamp(58px, 7vw, 84px);
  background: linear-gradient(180deg, #202625 0 230px, #fff 230px 100%);
}

.auto-challenges__intro {
  width: min(100%, 920px);
  margin: 0 auto 42px;
  text-align: center;
}

.auto-challenges__intro h2 {
  margin: 0 0 14px;
  color: #d9872f;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  line-height: 0.96;
  font-weight: 900;
  text-transform: none;
}

.auto-challenges__intro p {
  margin: 0 auto;
  width: min(100%, 780px);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.35;
}

.auto-challenges__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.auto-challenges__grid article {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 520px;
  border: 3px solid #c33334;
  background: #eef2f2;
  color: #3d3836;
}

.auto-challenges__grid h3 {
  min-height: 100px;
  margin: 0;
  padding: 22px 16px 18px;
  background: #c33334;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.08;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.auto-challenges__grid ul {
  display: grid;
  align-content: start;
  gap: 13px;
  margin: 0;
  padding: 28px 22px;
  list-style: none;
  text-align: center;
}

.auto-challenges__grid li {
  color: #46413f;
  font-size: 0.95rem;
  line-height: 1.18;
  font-weight: 800;
}

.auto-challenges .arch-cta {
  margin-top: 48px;
}

.auto-keywords strong,
.auto-keywords li {
  color: #fff;
}

.auto-keywords {
  display: block;
  min-height: 560px;
  background: #151515;
}

.auto-keywords > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.auto-keywords .arch-keywords__copy {
  position: absolute;
  left: max(28px, calc((100% - 1100px) / 2));
  top: 74px;
  width: min(520px, 46vw);
  padding: 34px 40px 36px;
  background: #151515;
}

.auto-keywords h2 {
  padding: 0;
  background: transparent;
}

.auto-keywords p {
  margin-top: -14px;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 72px);
  padding: clamp(48px, 6vw, 72px) clamp(34px, 8vw, 120px);
  background:
    linear-gradient(90deg, #121212 0 38%, #1c1b1b 38% 100%);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.96rem;
  line-height: 1.55;
}

.site-footer a {
  color: inherit;
}

.footer-brand {
  display: grid;
  gap: 18px;
  align-content: start;
}

.footer-brand p {
  max-width: 330px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  line-height: 1.05;
  font-weight: 900;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: rgba(255, 255, 255, 0.62);
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: #fff;
  transform: translateY(-3px);
}

.social-icon {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
  stroke: none;
}

.footer-legal {
  display: grid;
  align-content: start;
  gap: 8px;
  max-width: 720px;
  padding-right: 90px;
}

.footer-legal .privacy-link {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-legal a:not(.privacy-link) {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.back-top {
  position: absolute;
  top: 48px;
  right: clamp(24px, 5vw, 72px);
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  background: var(--red);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.back-top:hover,
.back-top:focus-visible {
  background: var(--orange);
  transform: translateY(-3px);
}

@media (max-width: 880px) {
  .site-header {
    position: relative;
    left: auto;
    transform: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
  }

  .main-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }

  .hero {
    overflow: hidden;
    min-height: 560px;
    padding-top: 1px;
  }

  .hero-copy {
    margin-top: 130px;
  }

  .pillars,
  .service-list,
  .expert-grid,
  .post-list,
  .portfolio-grid,
  .sales-strip {
    grid-template-columns: 1fr;
  }

  .value-grid,
  .business-band,
  .kpis,
  .metrics,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    background: #151515;
  }

  .footer-legal {
    padding-right: 74px;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .value-grid article {
    min-height: auto;
    padding: 32px 24px;
  }

  .kpi-image,
  .metric-photo {
    min-height: 300px;
  }

  .kpis,
  .metrics {
    min-height: auto;
  }

  .kpi-copy {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .kpi-item {
    grid-template-columns: 68px minmax(0, 1fr);
  }

  .metric-copy {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .bar {
    grid-template-columns: 110px minmax(0, 1fr) 52px;
  }

  .architecture-template .site-header {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  }

  .arch-hero {
    min-height: 570px;
  }

  .arch-steps,
  .arch-conversion,
  .arch-service-grid,
  .arch-keywords,
  .arch-cta,
  .auto-challenges__grid {
    grid-template-columns: 1fr;
  }

  .arch-steps {
    width: min(100% - 36px, 620px);
    padding-top: 46px;
  }

  .arch-conversion {
    width: min(100% - 36px, 680px);
    padding-bottom: 48px;
  }

  .arch-conversion__image {
    min-height: 420px;
  }

  .arch-service-grid article {
    min-height: auto;
  }

  .arch-service-grid ul {
    padding: 28px 24px;
  }

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

  .arch-cta .button {
    justify-self: center;
  }

  .arch-keywords img {
    min-height: 360px;
  }

  .auto-challenges {
    background: linear-gradient(180deg, #202625 0 230px, #fff 230px 100%);
  }

  .automation-page .arch-method {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
    justify-items: center;
  }

  .automation-page .arch-method > p:first-child,
  .automation-page .arch-method h2,
  .automation-page .arch-method strong,
  .automation-page .arch-method > p:last-child {
    grid-column: 1;
  }

  .auto-system .arch-conversion__image,
  .auto-system .arch-conversion__copy,
  .auto-system__card {
    grid-column: auto;
  }

  .auto-system__card {
    justify-self: stretch;
  }

  .auto-system {
    grid-template-columns: minmax(260px, 0.95fr) minmax(220px, 0.7fr) 170px;
    gap: 22px;
    width: 100%;
    padding: 50px 28px 0;
  }

  .auto-system .arch-conversion__image {
    grid-column: 1;
    min-height: 430px;
  }

  .auto-system .arch-conversion__copy {
    grid-column: 2;
  }

  .auto-system__card {
    grid-column: 3;
    min-height: 230px;
    padding: 28px 18px 20px;
  }

  .auto-system__card h3 {
    font-size: 1.18rem;
  }

  .auto-system__summary {
    grid-column: 1 / -1;
  }

  .auto-challenges__grid {
    width: min(100%, 620px);
    margin: 0 auto;
  }

  .auto-challenges__grid article {
    min-height: auto;
  }
}

@media (hover: none) {
  .portfolio-card:hover img,
  .portfolio-card:focus-within img {
    transform: none;
  }

  .portfolio-grid figcaption {
    inset: auto 0 0;
    height: auto;
    min-height: 46%;
    padding: 18px;
    transform: none;
    backface-visibility: visible;
  }

  .portfolio-card:hover figcaption,
  .portfolio-card:focus-within figcaption {
    transform: none;
  }
}

@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .section,
  .service-inner {
    width: min(100% - 30px, var(--max));
  }

  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 8px 20px;
    font-size: 0.72rem;
  }

  .hero-copy {
    width: min(100% - 30px, 360px);
  }

  .hero h1 span {
    font-size: 1rem;
    line-height: 1.16;
  }

  .hero h1 strong {
    font-size: clamp(2rem, 10.5vw, 2.35rem);
  }

  .hero h1 em {
    max-width: 100%;
    font-size: 0.84rem;
  }

  .section-title h2 {
    font-size: 1.45rem;
  }

  .architecture-mark {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0 12px;
    background: rgba(255, 255, 255, 0.88);
    font-size: 0.76rem;
  }

  .architecture-mark span {
    white-space: nowrap;
  }

  .architecture-mark span:first-child {
    text-align: center;
  }

  .brain-mark {
    width: 54px;
    height: auto;
  }

  .contact,
  .business-band article,
  .kpi-copy,
  .metric-copy,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-brand p {
    font-size: 1.08rem;
  }

  .footer-legal {
    padding-right: 0;
  }

  .back-top {
    position: static;
    width: 52px;
    height: 52px;
  }

  .kpi-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
  }

  .kpi-item span {
    width: 54px;
    height: 54px;
    font-size: 0.95rem;
  }

  .kpi-item p {
    font-size: 1rem;
  }

  .bar {
    grid-template-columns: 84px minmax(0, 1fr) 44px;
    gap: 10px;
    font-size: 0.98rem;
  }

  .bar em {
    font-size: 0.98rem;
  }

  .architecture-template .site-header {
    width: min(100% - 24px, var(--max));
    left: 12px;
    right: 12px;
    transform: none;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .architecture-template .brand {
    width: 118px;
  }

  .architecture-template .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100%, 300px);
    gap: 8px 10px;
    font-size: 0.68rem;
    text-align: center;
  }

  .architecture-template .main-nav a {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .arch-hero {
    min-height: 520px;
  }

  .arch-hero__content {
    margin-top: 72px;
  }

  .arch-eyebrow {
    font-size: 0.7rem;
  }

  .arch-hero h1 {
    font-size: clamp(1.9rem, 8.8vw, 2.12rem);
  }

  .arch-method {
    padding: 42px 18px;
  }

  .arch-method h2 {
    font-size: clamp(1.55rem, 7vw, 1.82rem);
  }

  .arch-method p,
  .arch-method strong {
    width: min(100%, 330px);
  }

  .arch-method strong {
    font-size: 1.02rem;
  }

  .arch-method p {
    font-size: 0.95rem;
  }

  .arch-steps {
    gap: 14px;
    padding: 32px 0;
  }

  .arch-steps article {
    min-height: 92px;
    padding: 18px;
  }

  .arch-conversion__copy h2 {
    color: rgba(255, 255, 255, 0.12);
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .arch-conversion__image {
    min-height: 320px;
  }

  .arch-conversion__image figcaption {
    top: 20px;
    right: 16px;
    width: min(78%, 260px);
    padding: 22px 18px;
    font-size: 0.98rem;
  }

  .arch-services {
    padding: 42px 0;
    background: linear-gradient(180deg, #202625 0 230px, #fff 230px 100%);
  }

  .arch-service-grid {
    width: min(100% - 28px, 420px);
  }

  .arch-service-grid h3 {
    min-height: auto;
  }

  .auto-challenges {
    padding: 42px 18px;
    background: linear-gradient(180deg, #202625 0 220px, #fff 220px 100%);
  }

  .auto-hero {
    min-height: 520px;
  }

  .auto-hero h1 {
    font-size: clamp(2rem, 10vw, 2.55rem);
  }

  .automation-page .arch-method h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.45rem);
  }

  .auto-system {
    grid-template-columns: 1fr;
    width: 100%;
    padding: 42px 18px 0;
  }

  .auto-system .arch-conversion__image,
  .auto-system .arch-conversion__copy,
  .auto-system__card,
  .auto-system__summary {
    grid-column: 1;
  }

  .auto-system .arch-conversion__copy h2 {
    font-size: clamp(1.8rem, 9vw, 2.45rem);
  }

  .auto-challenges__intro {
    margin-bottom: 30px;
  }

  .auto-challenges__intro h2 {
    font-size: clamp(1.55rem, 8vw, 2.15rem);
  }

  .auto-challenges__intro p {
    font-size: 0.95rem;
  }

  .auto-challenges__grid h3 {
    min-height: auto;
  }

  .arch-cta {
    width: min(100% - 28px, 420px);
    padding: 24px 18px;
  }

  .arch-cta p {
    font-size: 1.45rem;
    line-height: 1.02;
  }

  .arch-keywords__copy {
    padding: 36px 20px;
  }

  .arch-keywords p {
    margin-top: -14px;
  }

  .auto-keywords {
    min-height: 540px;
  }

  .auto-keywords .arch-keywords__copy {
    left: 20px;
    right: 20px;
    top: 42px;
    width: auto;
    padding: 28px 24px;
  }
}

@media (min-width: 721px) {
  .auto-system {
    display: grid;
    grid-template-columns: minmax(360px, 0.86fr) minmax(540px, 1.14fr);
    grid-template-areas:
      "auto-image auto-copy"
      "auto-summary auto-summary";
    gap: 34px clamp(28px, 4vw, 58px);
    align-items: center;
    width: 100%;
    padding: 68px max(34px, calc((100% - 1080px) / 2)) 0;
    background: #fff;
  }

  .auto-system .arch-conversion__image {
    grid-area: auto-image;
    min-height: 560px;
  }

  .auto-system .arch-conversion__copy {
    grid-area: auto-copy;
  }

  .auto-system__summary {
    grid-area: auto-summary;
  }
}

@media (max-width: 720px) {
  .auto-system {
    grid-template-columns: 1fr;
  }

  .auto-system .arch-conversion__image,
  .auto-system .arch-conversion__copy,
  .auto-system__card,
  .auto-system__summary {
    grid-column: 1;
    grid-row: auto;
  }

  .auto-system__details {
    grid-template-columns: 1fr;
  }
}

.blog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.12);
}

.blog-brand img {
  display: block;
  height: auto;
}

.blog-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-nav a {
  color: var(--ink);
}

.blog-main {
  max-width: 1040px;
  margin: 0 auto;
  padding: 72px 24px 88px;
}

.blog-archive-title {
  margin-bottom: 36px;
}

.blog-archive-title p,
.blog-article__header p {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-archive-title h1,
.blog-article__header h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.1rem, 6vw, 4.6rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.blog-card {
  min-height: 260px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: var(--white);
}

.blog-card a {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  color: var(--ink);
}

.blog-card time {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.12;
  text-transform: uppercase;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.blog-card span {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.blog-single {
  max-width: 880px;
}

.blog-article__header {
  margin-bottom: 36px;
}

.blog-article__content {
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.75;
}

.blog-article__content h2,
.blog-article__content h3,
.blog-article__content h4 {
  margin-top: 1.8em;
  line-height: 1.15;
  text-transform: uppercase;
}

.blog-article__content img {
  max-width: 100%;
  height: auto;
}

.navigation.pagination {
  margin-top: 40px;
}

.nav-links,
.navigation.pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navigation.pagination li {
  margin: 0;
  padding: 0;
}

.navigation.pagination a.page-numbers,
.navigation.pagination span.page-numbers,
.nav-links a.page-numbers,
.nav-links span.page-numbers {
  display: inline-flex;
  min-width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 20, 20, 0.18);
  color: var(--ink);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.navigation.pagination span.page-numbers.current,
.nav-links span.page-numbers.current {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.navigation.pagination a.page-numbers:hover,
.nav-links a.page-numbers:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 24px 38px;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  color: var(--muted);
  font-size: 0.85rem;
}

.blog-footer p {
  margin: 0;
}

.contact-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 68px 24px 92px;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(380px, 1.12fr);
  gap: 44px;
  align-items: center;
}

.contact-hero__copy {
  min-width: 0;
}

.contact-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-hero h1 {
  max-width: 560px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.35rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.contact-lead {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.42;
}

.contact-note {
  max-width: 620px;
  margin: 28px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.contact-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  padding: 12px 18px;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-button:hover,
.contact-button:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.contact-button--outline {
  background: transparent;
  color: var(--ink);
}

.contact-button--outline:hover,
.contact-button--outline:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.contact-hero__video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: var(--ink);
  box-shadow: 0 22px 54px rgba(20, 20, 20, 0.12);
}

.contact-hero__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 44px;
  padding-top: 34px;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
}

.contact-detail {
  min-height: 174px;
  padding: 24px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: #f7f5f2;
}

.contact-detail span {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
}

.contact-detail h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 0.95rem;
  text-transform: uppercase;
}

.contact-detail p,
.contact-detail a {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.contact-detail a:hover,
.contact-detail a:focus-visible {
  color: var(--accent);
}

@media (max-width: 760px) {
  .blog-header,
  .blog-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .blog-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

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

  .contact-page {
    padding-top: 42px;
  }

  .contact-hero,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    gap: 28px;
  }

  .contact-hero h1 {
    max-width: 100%;
  }

  .contact-actions {
    display: grid;
  }
}
