/*
  GM Garcia Manutenções — Plano Essencial (R$ 1.200)
  --------------------------------------------------
  Estrutura CSS organizada em: tokens, base, componentes e responsividade.
  O projeto não depende de frameworks, reduzindo custos e facilitando manutenção.
*/

:root {
  --blue-950: #071d46;
  --blue-900: #0b2f6b;
  --blue-800: #0b3f8f;
  --blue-700: #0e56b5;
  --blue-600: #1976d2;
  --blue-100: #eaf4ff;
  --blue-50: #f5faff;
  --green: #20b857;
  --green-dark: #168541;
  --ink: #101c33;
  --text: #46546d;
  --muted: #6e7b91;
  --line: #dce7f3;
  --white: #ffffff;
  --surface: #f7faff;
  --shadow-sm: 0 8px 24px rgba(10, 48, 103, .08);
  --shadow-md: 0 20px 55px rgba(10, 48, 103, .14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --container: 1180px;
  --transition: 180ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  background: var(--white);
  color: var(--blue-900);
  padding: 12px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  background: var(--blue-950);
  color: #dceaff;
  font-size: .85rem;
}

.topbar__content {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220, 231, 243, .8);
}

.header__content {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  font-weight: 900;
  letter-spacing: -.08em;
  font-size: 1.25rem;
  box-shadow: 0 8px 18px rgba(14, 86, 181, .22);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__text strong {
  font-size: .98rem;
}

.brand__text small {
  color: var(--muted);
  font-size: .7rem;
  margin-top: 4px;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  font-weight: 700;
  font-size: .92rem;
  color: #263654;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 2px;
  background: var(--blue-600);
  transition: right var(--transition);
}

.nav a:hover::after,
.nav a:focus-visible::after {
  right: 0;
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--blue-950);
  transition: transform var(--transition), opacity var(--transition);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  box-shadow: 0 12px 28px rgba(14, 86, 181, .22);
}

.button--secondary {
  border-color: #b7cae0;
  color: var(--blue-900);
  background: var(--white);
}

.button--whatsapp {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 10px 24px rgba(32, 184, 87, .2);
}

.button--whatsapp:hover {
  background: var(--green-dark);
}

.button svg {
  width: 21px;
  fill: currentColor;
}

.hero {
  padding-top: 72px;
  overflow: hidden;
  background: radial-gradient(circle at 88% 20%, #dceeff 0, transparent 32%), linear-gradient(180deg, var(--blue-50), #fff);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 58px;
}

.eyebrow {
  display: inline-block;
  color: var(--blue-700);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 900;
  margin-bottom: 18px;
}

.eyebrow--light {
  color: #bcdcff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.7rem, 5.2vw, 4.9rem);
  line-height: 1.03;
  letter-spacing: -.055em;
  margin-bottom: 24px;
  max-width: 780px;
}

h1 span {
  color: var(--blue-700);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.04em;
  margin-bottom: 18px;
}

h3 {
  line-height: 1.25;
}

.hero__content>p {
  font-size: 1.13rem;
  color: var(--text);
  max-width: 620px;
  margin-bottom: 30px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #31415f;
  font-weight: 700;
  font-size: .92rem;
}

.hero__checks span {
  color: var(--green);
}

.hero__visual {
  position: relative;
  isolation: isolate;
}

.hero__image-wrap {
  width: min(100%, 590px);
  margin-left: auto;
  border: 10px solid rgba(255, 255, 255, .92);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(7, 29, 70, .18);
  background: #eaf5ff;
  aspect-ratio: 16 / 11;
}

.hero__image-wrap picture,
.hero__image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero__image-wrap img {
  object-fit: cover;
  object-position: center;
}

.hero__badge {
  position: absolute;
  left: auto;
  right: -12px;
  bottom: -14px;
  max-width: 250px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(7, 29, 70, .96);
  color: var(--white);
  box-shadow: 0 18px 40px rgba(7, 29, 70, .24);
}

.hero__badge strong,
.hero__badge span {
  display: block;
}

.hero__badge span {
  color: #bfd8ff;
  font-size: .83rem;
  margin-top: 4px;
}

.trust-strip {
  background: var(--blue-900);
  color: var(--white);
}

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

.trust-strip article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 112px;
  padding: 18px 28px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}

.trust-strip article:last-child {
  border-right: 0;
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip small {
  color: #c5d8f1;
  margin-top: 3px;
}

.icon-circle {
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  font-weight: 900;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading>p {
  color: var(--text);
  font-size: 1.03rem;
}

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

.services {
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 365px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: #9fc6ef;
  box-shadow: var(--shadow-md);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--blue-100);
  margin-bottom: 24px;
}

.service-card__icon svg {
  width: 38px;
  fill: none;
  stroke: var(--blue-700);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text);
  font-size: .94rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-700);
  font-weight: 900;
  text-align: left;
}

.text-link span {
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateX(5px);
}

.about {
  background: var(--surface);
}

.about__grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 76px;
  align-items: center;
}

.about__image-card {
  position: relative;
  max-width: 430px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4.6;
  background: #e9f5ff;
}

.about__image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.about__content>p {
  color: var(--text);
  font-size: 1.02rem;
  max-width: 690px;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.about__stats div {
  padding: 20px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.about__stats strong,
.about__stats span {
  display: block;
}

.about__stats strong {
  color: var(--blue-700);
  font-size: 1.4rem;
}

.about__stats span {
  color: var(--text);
  font-size: .86rem;
  margin-top: 5px;
}

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

.feature-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--blue-950), var(--blue-800));
  color: var(--white);
  min-height: 240px;
}

.feature-card>span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  color: #cfe4ff;
  font-weight: 900;
  margin-bottom: 30px;
}

.feature-card h3 {
  font-size: 1.15rem;
}

.feature-card p {
  color: #c8daf2;
  font-size: .92rem;
}

.process {
  background: var(--surface);
}

.process__steps {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.process__steps li {
  display: flex;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1px solid var(--line);
}

.process__steps li>span {
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  color: var(--white);
  background: var(--blue-700);
  font-weight: 900;
}

.process__steps h3 {
  margin-bottom: 7px;
}

.process__steps p {
  color: var(--text);
  font-size: .92rem;
  margin-bottom: 0;
}

.faq__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.faq__items {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  list-style: none;
  padding: 24px 42px 24px 0;
  position: relative;
  cursor: pointer;
  font-weight: 850;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 21px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 1.2rem;
}

details[open] summary::after {
  content: "–";
}

details p {
  color: var(--text);
  padding-right: 48px;
}

.contact {
  background: linear-gradient(135deg, var(--blue-950), var(--blue-800));
  color: var(--white);
}

.contact__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.contact__content>p {
  color: #c9daf2;
  font-size: 1.03rem;
}

.contact__list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 12px;
  color: #dbe9fb;
}

.contact__list strong {
  color: var(--white);
}

.quote-form {
  padding: 30px;
  border-radius: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

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

.form-field:nth-child(4) {
  grid-column: 1 / -1;
}

.form-field label {
  font-weight: 800;
  font-size: .85rem;
  margin-bottom: 7px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #cddbeb;
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  outline: 0;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(25, 118, 210, .12);
}

.form-field [aria-invalid="true"] {
  border-color: #d72828;
}

.field-error {
  min-height: 17px;
  color: #c42020;
  font-size: .74rem;
  margin-top: 4px;
}

.button--form {
  grid-column: 1 / -1;
  color: var(--white);
  background: var(--green);
  border: 0;
}

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

.footer {
  padding: 64px 0 24px;
  background: var(--blue-950);
  color: #c5d6ed;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 54px;
}

.brand--footer {
  color: var(--white);
  margin-bottom: 18px;
}

.brand--footer .brand__text small {
  color: #b8cbe4;
}

.footer p {
  max-width: 360px;
}

.footer h2 {
  color: var(--white);
  font-size: .95rem;
  margin-bottom: 16px;
}

.footer__grid>div:not(:first-child) {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .9rem;
}

.footer__grid a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .13);
  margin-top: 46px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .78rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  box-shadow: 0 12px 35px rgba(22, 133, 65, .36);
  transition: transform var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08);
}

.floating-whatsapp svg {
  width: 31px;
  fill: currentColor;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

  .header__cta {
    justify-self: end;
  }

  .menu-button {
    display: block;
    justify-self: end;
    order: 3;
    margin-left: 100px;
  }

  .header__cta {
    display: none;
  }

  .nav {
    display: none;
    position: absolute;
    left: auto;
    right: 20px;
    top: calc(100% + 10px);
    width: min(290px, calc(100vw - 40px));
    padding: 18px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    transform-origin: top right;
  }

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

  .nav a {
    padding: 12px;
    border-radius: 10px;
  }

  .nav a:hover {
    background: var(--blue-50);
  }

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

  .hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .about__grid {
    gap: 40px;
  }
}

@media (max-width: 1180px) and (min-width: 781px) {
  .hero__badge {
    right: 10px;
    bottom: 14px;
    max-width: 220px;
    padding: 14px 16px;
  }
}

@media (max-width: 780px) {
  .topbar__content {
    justify-content: center;
    text-align: center;
  }

  .topbar__hours {
    display: none;
  }

  .brand__text small {
    display: none;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 48px;
  }

  .hero__grid,
  .about__grid,
  .faq__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    text-align: center;
  }

  .hero__content>p,
  .section-heading {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__checks {
    justify-content: center;
  }

  .hero__visual {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .hero__image-wrap {
    margin-inline: auto;
  }

  .hero__badge {
    left: 16px;
    bottom: 18px;
  }

  .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .trust-strip article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    min-height: 88px;
  }

  .trust-strip article:last-child {
    border-bottom: 0;
  }

  .about__visual {
    order: 2;
  }

  .about__image-card {
    margin-inline: auto;
  }

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

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

  .form-field:nth-child(4),
  .button--form,
  .form-note {
    grid-column: auto;
  }

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

  .footer__grid>div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header__content {
    min-height: 68px;
    gap: 12px;
  }

  .brand__mark {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .brand__text strong {
    font-size: .86rem;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .services__grid,
  .differences__grid,
  .about__stats,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .hero__badge {
    position: static;
    max-width: none;
    margin: -20px 14px 0;
    border-radius: 14px;
  }

  .footer__grid>div:first-child {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 15px;
    bottom: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


.brand__logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 18px rgba(14, 86, 181, .18);
}

.hero__image-wrap img {
  object-position: center center;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.gallery-card div {
  padding: 18px;
}

.gallery-card h3 {
  font-size: 1.04rem;
  margin-bottom: 8px;
}

.gallery-card p {
  color: var(--text);
  font-size: .92rem;
}

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

@media (max-width: 720px) {
  .brand__logo {
    width: 54px;
    height: 54px;
    border-radius: 14px;
  }

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

  .gallery-card img {
    height: 240px;
  }
}


.video-showcase {
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 100%);
}

.video-showcase__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.video-showcase__content p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 22px;
}

.video-showcase__list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 12px;
}

.video-showcase__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
}

.video-showcase__list span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  background: var(--blue-700);
  box-shadow: 0 6px 16px rgba(14, 86, 181, .2);
  flex-shrink: 0;
}

.video-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow-md);
}

.video-card video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 20px;
  background: #0e1830;
}

@media (max-width: 900px) {
  .video-showcase__grid {
    grid-template-columns: 1fr;
  }

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

  .video-showcase__list {
    max-width: 420px;
    margin: 0 auto 26px;
  }

  .video-showcase__content .button {
    margin: 0 auto;
  }
}


.hero__project-chip {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  color: var(--blue-950);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(7, 29, 70, .12);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .01em;
}

@media (min-width: 1051px) {
  .hero__content {
    padding-bottom: 18px;
  }

  .hero__visual::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    z-index: -1;
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(25, 118, 210, .13), rgba(14, 86, 181, .03));
  }
}

@media (max-width: 1050px) and (min-width: 781px) {
  .hero__image-wrap {
    aspect-ratio: 4 / 3;
  }

  .hero__badge {
    right: 8px;
    bottom: -10px;
  }
}

@media (max-width: 780px) {
  .hero__project-chip {
    display: none;
  }

  .hero__badge {
    left: 16px;
    right: auto;
    bottom: 18px;
  }

  .hero__image-wrap {
    aspect-ratio: 5 / 5.2;
  }

  .hero__image-wrap img {
    object-position: center center;
  }
}

.footer__bottom a {
  color: var(--white);
  font-weight: 850;
  text-decoration: none;
  letter-spacing: .03em;
  transition: opacity var(--transition), text-decoration-color var(--transition);
}

.footer__bottom a:hover,
.footer__bottom a:focus-visible {
  opacity: .78;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 540px) {
  .nav {
    right: 14px;
    width: min(270px, calc(100vw - 28px));
  }

  .footer__bottom {
    align-items: flex-start;
  }
}