/* ==========================================================================
   Істраті Буд — main stylesheet
   Breakpoints: mobile < 680px, tablet 680–1023px, desktop ≥ 1024px
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  --c-text: #2a2926;
  --c-muted: #7c7770;
  --c-muted-2: #86817a;
  --c-muted-3: #8a857e;
  --c-muted-4: #8f8a83;
  --c-body-2: #57534d;
  --c-accent: #c8883a;
  --c-accent-light: #e1a856;
  --c-gold: #d08a37;
  --c-line: #d9a45f;
  --c-border: #e3dfd9;
  --c-border-2: #e6e2dc;
  --c-divider: #f0ede8;
  --c-bg-soft: #f7f6f4;
  --c-bg-soft-2: #f5f4f2;
  --c-bg-dark: #343331;
  --c-bg-footer: #2e2d2b;
  --c-hover-soft: #f3e6d4;
  --c-viber: #7d51a0;
  --c-whatsapp: #2fb84f;

  --grad-gold: linear-gradient(180deg, #e6b570, #c98b41);

  --ff-head: Montserrat, sans-serif;
  --ff-body: Manrope, sans-serif;
  --ff-hand: Caveat, cursive;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(40px, 5vw, 56px);

  --shadow-card: 0 1px 4px rgba(0, 0, 0, .08), 0 0 0 1px rgba(0, 0, 0, .04);
  --shadow-card-hover: 0 10px 24px rgba(0, 0, 0, .12);
}

/* 2. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--c-text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

a { color: var(--c-accent); text-decoration: none; }
img { display: block; max-width: 100%; }
input, textarea, button { font-family: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

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

/* 3. Layout
   ========================================================================== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section--no-bottom { padding-bottom: 0; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title {
  margin: 0;
  font: 600 clamp(26px, 3.2vw, 40px)/1.15 var(--ff-head);
  color: var(--c-text);
}
.section-title--spaced { margin-bottom: 28px; }

.section-subtitle {
  margin: 8px 0 28px;
  font: 400 15px/1.5 var(--ff-body);
  color: var(--c-muted);
}

/* 4. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  border: none;
  border-radius: 5px;
  font: 600 14px var(--ff-body);
  cursor: pointer;
}

.btn--primary,
.btn--primary:hover {
  background: var(--grad-gold);
  color: #fff;
}
.btn--primary:hover { filter: brightness(1.06); }
.btn--primary .svg-icon { filter: brightness(0) invert(1); }

.btn--outline,
.btn--outline:hover {
  border: 1.5px solid #d49a4c;
  color: #fff;
}
.btn--outline:hover { background: rgba(212, 154, 76, .15); }

.btn--sm { padding: 13px 24px; }
.btn--wide { padding: 12px 30px; }

.btn--block {
  height: 50px;
  font-size: 16px;
}

.btn--submit {
  margin-top: 4px;
  box-shadow: 0 6px 16px rgba(201, 139, 65, .25);
}

.icon-btn {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.icon-btn--square {
  width: 42px;
  height: 42px;
  border: 1px solid var(--c-border-2);
  border-radius: 10px;
  background: #fff;
}

.icon-btn--round {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.icon-btn--round:hover { background: var(--c-hover-soft); }

.more-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 13px var(--ff-body);
  color: var(--c-accent);
}

/* 5. Logo
   ========================================================================== */
.logo {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-text);
}
.logo:hover { color: var(--c-text); }
.logo--light,
.logo--light:hover { color: #fff; }

.logo__text {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1;
}

.logo__name {
  font: 600 25px/1 var(--ff-head);
  letter-spacing: .01em;
}

.logo__sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.logo__sub::before,
.logo__sub::after {
  content: "";
  flex: 1;
  height: 1.5px;
  background: var(--c-gold);
}

.logo__sub span {
  font: 600 11px/1 var(--ff-head);
  letter-spacing: .45em;
  margin-right: -.45em;
}

/* 6. Messengers
   ========================================================================== */
.messengers { display: flex; gap: 10px; flex: none; }

.messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #fff;
}
.messenger:hover { color: #fff; filter: brightness(1.1); }
.messenger--viber { background: var(--c-viber); }
.messenger--whatsapp { background: var(--c-whatsapp); }

/* 7. Header
   ========================================================================== */
.header {
  position: relative;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.header__inner {
  height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 36px);
}

.header__nav a {
  font: 500 14px var(--ff-body);
  color: var(--c-text);
}
.header__nav a:hover { color: var(--c-accent); }

.header__phone,
.header__phone:hover {
  font: 600 17px var(--ff-head);
  color: var(--c-text);
  white-space: nowrap;
}

.header__burger {
  flex-direction: column;
  gap: 5px;
}
.header__burger span {
  width: 18px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}

/* 8. Mobile drawer
   ========================================================================== */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .38s cubic-bezier(.4, 0, .2, 1), visibility .38s;
}

.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer__top {
  flex: none;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  border-bottom: 1px solid var(--c-divider);
}

.drawer__nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px var(--gutter);
}

.drawer__nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-divider);
  font: 600 22px var(--ff-head);
  color: var(--c-text);
}
.drawer__nav a:hover { color: var(--c-accent); }
.drawer__nav svg { color: var(--c-accent); }

.drawer__bottom {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px var(--gutter) 32px;
  background: var(--c-bg-soft);
}

.drawer__phone,
.drawer__phone:hover {
  font: 700 22px var(--ff-head);
  color: var(--c-text);
}

/* 9. Hero
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, #22211f, #33312d);
}

.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}

.hero__worker {
  position: absolute;
  left: 15%;
  top: 5%;
  height: 112%;
  width: auto;
  max-width: none;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #2a2926 0%, rgba(42, 41, 38, .75) 10%, rgba(42, 41, 38, 0) 30%);
}

.hero__inner {
  position: relative;
  min-height: 560px;
  padding-top: clamp(28px, 6vw, 64px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.hero__content {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero__eyebrow {
  font: 700 13px var(--ff-head);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--c-accent-light);
}

.hero__title {
  margin: 0;
  font: 800 clamp(40px, 6vw, 72px)/1.02 var(--ff-head);
  letter-spacing: -.01em;
}
.hero__title span { color: #e3a653; }

.hero__text {
  margin: 0;
  font: 500 clamp(16px, 1.6vw, 20px)/1.45 var(--ff-body);
  color: rgba(255, 255, 255, .9);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 6px;
}

.hero__actions .btn {
  flex: 1 1 220px;
  padding: 14px 26px;
  border-radius: 6px;
  font-size: 15px;
}

.hero__actions .btn--primary {
  padding: 15px 26px;
  box-shadow: 0 6px 18px rgba(201, 139, 65, .3);
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 34px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 14px/1.3 var(--ff-body);
}

/* 10. Cards (services, blog)
   ========================================================================== */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border-radius: 4px;
  box-shadow: var(--shadow-card);
  color: var(--c-text);
  transition: transform .2s, box-shadow .2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hover);
  color: var(--c-text);
}

.card__img { width: 100%; object-fit: cover; }

/* 11. Services
   ========================================================================== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 22px);
}

.service-card .card__img { aspect-ratio: 2.06; height: auto; }

.service-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 16px;
}

.service-card__title { font: 600 clamp(14px, 1.3vw, 16px)/1.3 var(--ff-body); }

/* 12. Steps
   ========================================================================== */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 22px;
  height: 1.5px;
  background: var(--c-line);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.step__num {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1.5px solid var(--c-line);
  border-radius: 50%;
  background: #fff;
  font: 600 15px var(--ff-head);
  color: var(--c-accent);
}

.step__title { margin-bottom: 6px; font: 600 17px var(--ff-body); }

.step__text {
  font: 400 14px/1.5 var(--ff-body);
  color: var(--c-muted-2);
  text-wrap: pretty;
}

/* 13. Works
   ========================================================================== */
.works { padding-bottom: clamp(24px, 3vw, 32px); }

.works__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

.works__item {
  display: block;
  overflow: hidden;
  border-radius: 3px;
}

.works__item img {
  width: 100%;
  aspect-ratio: 1.56;
  object-fit: cover;
  transition: transform .5s;
}
.works__item:hover img { transform: scale(1.05); }

.works__note {
  margin-top: 8px;
  text-align: right;
  font: 400 12px var(--ff-body);
  color: var(--c-muted-4);
}

/* 14. Values
   ========================================================================== */
.values { background: var(--c-bg-dark); color: #fff; }

.values__inner {
  padding-top: clamp(36px, 4vw, 48px);
  padding-bottom: clamp(36px, 4vw, 48px);
}

.values .section-title { color: #fff; }

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 0;
}

.value {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, .18);
}

.value:first-child { padding-left: 0; border-left: none; }

.value__title { font: 600 18px var(--ff-body); }

.value__text {
  font: 400 14px/1.5 var(--ff-body);
  color: rgba(255, 255, 255, .78);
}

/* 15. Reviews
   ========================================================================== */
.reviews { background: var(--c-bg-soft-2); }

.reviews .section-head { gap: 14px; margin-bottom: 26px; }

.reviews__nav { display: flex; gap: 10px; }

.reviews__track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  touch-action: pan-y;
}

.review {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 22px 24px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

.review[hidden] { display: none; }

.review__quote {
  flex: none;
  margin-top: 4px;
  font: 800 56px/.8 var(--ff-head);
  color: #d49a4c;
}

.review__avatar {
  position: relative;
  flex: none;
  width: 52px;
  height: 52px;
  overflow: hidden;
  border-radius: 50%;
  background: #e4e2df;
}

.review__avatar::before,
.review__avatar::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fff;
}
.review__avatar::before { left: 17px; top: 10px; width: 18px; height: 18px; }
.review__avatar::after { left: 8px; top: 31px; width: 36px; height: 30px; }

.review__body { min-width: 0; }

.review__name { margin-bottom: 6px; font: 600 15px var(--ff-body); }

.review__text {
  font: 400 14px/1.5 var(--ff-body);
  color: var(--c-muted-3);
  text-wrap: pretty;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.dots__item {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: #d8d4ce;
  cursor: pointer;
  transition: all .2s;
}

.dots__item.is-active { width: 24px; background: #c98b41; }

/* 16. Blog
   ========================================================================== */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
}

.post-card .card__img { aspect-ratio: 2.85; }

.post-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
}

.post-card__title { font: 600 16px/1.35 var(--ff-body); }

.post-card__excerpt {
  font: 400 14px/1.5 var(--ff-body);
  color: var(--c-muted-3);
}

.post-card .more-link { margin-top: 2px; font-weight: 600; }

/* 17. Contact
   ========================================================================== */
.contact { background: var(--c-bg-soft); }

.contact__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 72px);
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.contact__info {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__title {
  margin: 0;
  font: 600 clamp(22px, 2.2vw, 28px)/1.2 var(--ff-head);
}

.contact__text {
  max-width: 340px;
  margin: 0;
  font: 400 15px/1.55 var(--ff-body);
  color: var(--c-body-2);
}

.contact__phone,
.contact__phone:hover {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  font: 700 20px var(--ff-head);
  color: var(--c-text);
}
.contact__phone svg { color: var(--c-gold); }

.contact__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 4px;
}

.contact__messenger,
.contact__messenger:hover {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 600 14px var(--ff-body);
  color: var(--c-text);
}

.contact__messenger .messenger {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.handwrite {
  font: 700 30px/.95 var(--ff-hand);
  color: var(--c-text);
  text-align: center;
  transform: rotate(-10deg);
}

.handwrite svg { display: block; margin: 2px auto 0; }

/* 18. Form
   ========================================================================== */
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form__title {
  margin: 0 0 6px;
  font: 600 clamp(20px, 2vw, 24px)/1.2 var(--ff-head);
}

.form__field {
  padding: 0 14px;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  background: #fff;
  font-size: 15px;
  color: var(--c-text);
  outline: none;
}

input.form__field { height: 46px; }
textarea.form__field { padding: 12px 14px; resize: vertical; }


/* 19. Footer
   ========================================================================== */
.footer { background: var(--c-bg-footer); color: #fff; }

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
}

.footer__nav a {
  font: 500 14px var(--ff-body);
  color: #fff;
}
.footer__nav a:hover { color: var(--c-accent-light); }

.footer__meta {
  display: flex;
  align-items: center;
  gap: 28px;
}

.socials { display: flex; gap: 14px; }

.social-instagram {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 2.4px solid #fff;
  border-radius: 8px;
}
.social-instagram:hover { border-color: var(--c-accent-light); }

.social-instagram::before {
  content: "";
  width: 11px;
  height: 11px;
  border: 2.2px solid #fff;
  border-radius: 50%;
}

.social-instagram::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
}

.footer__credit {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .3);
  font: 500 13px/1.4 var(--ff-body);
  color: rgba(255, 255, 255, .85);
}

.footer__credit a,
.footer__credit a:hover {
  display: inline-flex;
  align-items: center;
  color: var(--c-accent-light);
}

.footer__credit-icon {
  flex: none;
  width: 9px;
  height: 15px;
  margin-right: 1px;
}

/* 20. Modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(24, 23, 21, .62);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.modal.is-open { opacity: 1; visibility: visible; }

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 5vw, 36px);
  background: var(--c-bg-soft);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  transform: translateY(24px);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}

.modal.is-open .modal__dialog { transform: translateY(0); }

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
}

.modal .form__title { margin: 0; padding-right: 40px; }

.modal__text {
  margin: 0 0 6px;
  font: 400 14px/1.5 var(--ff-body);
  color: var(--c-body-2);
}

/* 21. Responsive
   ========================================================================== */
@media (min-width: 1024px) {
  .desktop-hidden { display: none !important; }
}

@media (max-width: 1023.98px) {
  .header__nav { display: none; }
  .header__phone { margin-left: auto; }

  .hero__media { width: 56%; }
  .hero__inner { min-height: 520px; }
  .hero__content { max-width: 480px; }

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

  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .steps::before { display: none; }

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

  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value:first-child { padding-left: 24px; }
  .value:nth-child(3) { border-left: none; }

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

@media (max-width: 679.98px) {
  .mobile-hidden { display: none !important; }

  .header__inner { gap: 10px; }
  .messengers { margin-left: auto; }

  .hero__media {
    position: relative;
    width: auto;
    height: 320px;
    overflow: hidden;
  }
  .hero__bg { object-position: 45% 50%; }
  .hero__worker { left: 6%; top: 6%; }
  .hero__media::after { background: linear-gradient(180deg, rgba(42, 41, 38, 0) 55%, #2a2926 100%); }
  .hero__inner { min-height: 0; }
  .hero__content { max-width: 100%; }

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

  .steps { grid-template-columns: minmax(0, 1fr); }
  .step {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    text-align: left;
  }
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 45px;
    bottom: -28px;
    width: 1.5px;
    background: var(--c-line);
  }

  /* Section action button moves below the content on mobile */
  .has-bottom-action { display: flex; flex-direction: column; }
  .has-bottom-action .section-head { display: contents; }
  .has-bottom-action .section-title { margin-bottom: 24px; }
  .has-bottom-action .section-head__action { order: 1; align-self: flex-end; margin-top: 18px; }

  .values__grid { grid-template-columns: minmax(0, 1fr); }
  .value,
  .value:first-child { padding: 0 24px; border-left: none; }

  .reviews__track { grid-template-columns: minmax(0, 1fr); }

  .blog__grid { grid-template-columns: minmax(0, 1fr); }

  .contact__inner { grid-template-columns: minmax(0, 1fr); }

  .footer__inner {
    flex-direction: column;
    padding: 28px 16px 22px;
  }
  .footer__meta { display: contents; }
  .footer__credit {
    align-self: stretch;
    padding: 16px 0 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .15);
    text-align: center;
    font-weight: 400;
    color: rgba(255, 255, 255, .7);
  }
  .footer__credit br { display: none; }
  .footer__credit a { vertical-align: bottom; }
}
