/* HolzBauWerk — Schreinerei & Möbelbau */

:root {
  --hb-wood: #8B6914;
  --hb-oak: #D4B896;
  --hb-charcoal: #2C2416;
  --hb-cream: #FAF6F0;
  --hb-forest: #3D5A3A;
  --hb-wood-dark: #6B5010;
  --hb-white: #FFFFFF;
  --hb-shadow: rgba(44, 36, 22, 0.12);
  --hb-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --hb-max: 1200px;
  --hb-radius: 6px;
  --hb-transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--hb-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--hb-charcoal);
  background: var(--hb-cream);
  overflow-x: hidden;
}

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

a {
  color: var(--hb-wood);
  text-decoration: none;
  transition: color var(--hb-transition);
}

a:hover {
  color: var(--hb-forest);
}

ul {
  list-style: none;
}

.hb-container {
  width: 100%;
  max-width: var(--hb-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Wood texture accent */
.hb-wood-texture {
  background-color: var(--hb-oak);
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(139, 105, 20, 0.06) 2px,
      rgba(139, 105, 20, 0.06) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 8px,
      rgba(44, 36, 22, 0.03) 8px,
      rgba(44, 36, 22, 0.03) 9px
    );
}

/* Header */
.hb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--hb-charcoal);
  border-bottom: 3px solid var(--hb-wood);
}

.hb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--hb-max);
  margin: 0 auto;
}

.hb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hb-cream);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.hb-logo:hover {
  color: var(--hb-oak);
}

.hb-logo__mark {
  width: 38px;
  height: 38px;
  background: var(--hb-wood);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--hb-cream);
}

.hb-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

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

.hb-nav__link {
  color: var(--hb-cream);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.hb-nav__link:hover,
.hb-nav__link--active {
  color: var(--hb-oak);
}

.hb-nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--hb-wood);
}

/* Mega dropdown */
.hb-nav__item--mega {
  position: relative;
}

.hb-mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--hb-transition), transform var(--hb-transition), visibility var(--hb-transition);
  background: var(--hb-white);
  border: 1px solid var(--hb-oak);
  border-radius: var(--hb-radius);
  box-shadow: 0 12px 40px var(--hb-shadow);
  padding: 20px;
  min-width: 520px;
  z-index: 100;
}

.hb-nav__item--mega:hover .hb-mega,
.hb-nav__item--mega:focus-within .hb-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.hb-mega__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hb-mega__item {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: var(--hb-radius);
  transition: background var(--hb-transition);
  color: var(--hb-charcoal);
}

.hb-mega__item:hover {
  background: var(--hb-cream);
  color: var(--hb-wood);
}

.hb-mega__thumb {
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  border: 2px solid var(--hb-oak);
}

.hb-mega__title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.hb-mega__desc {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.4;
}

.hb-mega__footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--hb-oak);
  text-align: center;
}

.hb-mega__footer a {
  font-weight: 600;
  font-size: 0.88rem;
}

/* Mobile toggle */
.hb-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hb-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--hb-cream);
  transition: var(--hb-transition);
}

.hb-burger--open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hb-burger--open span:nth-child(2) {
  opacity: 0;
}

.hb-burger--open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.hb-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--hb-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--hb-transition);
  text-align: center;
}

.hb-btn--primary {
  background: var(--hb-wood);
  color: var(--hb-cream);
  border-color: var(--hb-wood);
}

.hb-btn--primary:hover {
  background: var(--hb-wood-dark);
  border-color: var(--hb-wood-dark);
  color: var(--hb-cream);
}

.hb-btn--outline {
  background: transparent;
  color: var(--hb-cream);
  border-color: var(--hb-oak);
}

.hb-btn--outline:hover {
  background: var(--hb-oak);
  color: var(--hb-charcoal);
}

.hb-btn--forest {
  background: var(--hb-forest);
  color: var(--hb-cream);
  border-color: var(--hb-forest);
}

.hb-btn--forest:hover {
  background: #2E4430;
  color: var(--hb-cream);
}

/* Hero */
.hb-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hb-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hb-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hb-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44, 36, 22, 0.82) 0%, rgba(44, 36, 22, 0.55) 100%);
  z-index: 1;
}

.hb-hero__content {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  max-width: var(--hb-max);
  margin: 0 auto;
  width: 100%;
}

.hb-hero__tag {
  display: inline-block;
  background: var(--hb-wood);
  color: var(--hb-cream);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.hb-hero__title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--hb-cream);
  line-height: 1.15;
  max-width: 680px;
  margin-bottom: 18px;
}

.hb-hero__text {
  font-size: 1.15rem;
  color: var(--hb-oak);
  max-width: 540px;
  margin-bottom: 32px;
}

.hb-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hb-hero--page {
  min-height: 320px;
}

.hb-hero--page .hb-hero__title {
  font-size: 2.4rem;
}

/* Sections */
.hb-section {
  padding: 72px 0;
}

.hb-section--dark {
  background: var(--hb-charcoal);
  color: var(--hb-cream);
}

.hb-section--wood {
  background: var(--hb-oak);
}

.hb-section__header {
  text-align: center;
  margin-bottom: 48px;
}

.hb-section__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hb-wood);
  margin-bottom: 10px;
}

.hb-section--dark .hb-section__label {
  color: var(--hb-oak);
}

.hb-section__title {
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--hb-charcoal);
  margin-bottom: 14px;
}

.hb-section--dark .hb-section__title {
  color: var(--hb-cream);
}

.hb-section__subtitle {
  font-size: 1.05rem;
  color: #555;
  max-width: 620px;
  margin: 0 auto;
}

.hb-section--dark .hb-section__subtitle {
  color: var(--hb-oak);
}

/* Features grid */
.hb-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hb-feature {
  background: var(--hb-white);
  padding: 32px 24px;
  border-radius: var(--hb-radius);
  border-left: 4px solid var(--hb-wood);
  box-shadow: 0 4px 20px var(--hb-shadow);
}

.hb-feature__icon {
  width: 48px;
  height: 48px;
  background: var(--hb-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  border: 2px solid var(--hb-oak);
}

.hb-feature__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--hb-charcoal);
}

.hb-feature__text {
  font-size: 0.92rem;
  color: #555;
}

/* Portfolio filter */
.hb-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hb-filter__btn {
  padding: 8px 20px;
  border: 2px solid var(--hb-oak);
  background: var(--hb-white);
  color: var(--hb-charcoal);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--hb-transition);
}

.hb-filter__btn:hover,
.hb-filter__btn--active {
  background: var(--hb-wood);
  border-color: var(--hb-wood);
  color: var(--hb-cream);
}

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

.hb-portfolio__item {
  position: relative;
  border-radius: var(--hb-radius);
  overflow: hidden;
  box-shadow: 0 6px 24px var(--hb-shadow);
  transition: transform var(--hb-transition), opacity var(--hb-transition);
}

.hb-portfolio__item:hover {
  transform: translateY(-4px);
}

.hb-portfolio__item.hb-hidden {
  display: none;
}

.hb-portfolio__item.hb-fade-out {
  opacity: 0;
  transform: scale(0.95);
}

.hb-portfolio__img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.hb-portfolio__info {
  padding: 16px 18px;
  background: var(--hb-white);
}

.hb-portfolio__cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hb-wood);
  margin-bottom: 4px;
}

.hb-portfolio__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--hb-charcoal);
}

/* Services cards */
.hb-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.hb-service-card {
  display: flex;
  gap: 20px;
  background: var(--hb-white);
  border-radius: var(--hb-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--hb-shadow);
  transition: transform var(--hb-transition);
}

.hb-service-card:hover {
  transform: translateY(-3px);
}

.hb-service-card__img {
  width: 200px;
  min-height: 180px;
  object-fit: cover;
  flex-shrink: 0;
}

.hb-service-card__body {
  padding: 24px 24px 24px 0;
}

.hb-service-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--hb-charcoal);
}

.hb-service-card__text {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 12px;
}

.hb-service-card__list {
  font-size: 0.85rem;
  color: var(--hb-forest);
}

.hb-service-card__list li {
  padding: 2px 0;
}

.hb-service-card__list li::before {
  content: '▸ ';
  color: var(--hb-wood);
}

/* About */
.hb-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hb-about__img {
  border-radius: var(--hb-radius);
  box-shadow: 0 8px 32px var(--hb-shadow);
  border: 4px solid var(--hb-oak);
}

.hb-about__text p {
  margin-bottom: 16px;
  color: #444;
}

.hb-counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.hb-counter {
  text-align: center;
  padding: 28px 16px;
  background: var(--hb-white);
  border-radius: var(--hb-radius);
  border-bottom: 3px solid var(--hb-wood);
}

.hb-counter__num {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--hb-wood);
  line-height: 1;
  margin-bottom: 6px;
}

.hb-counter__label {
  font-size: 0.85rem;
  color: #666;
  font-weight: 500;
}

/* Team */
.hb-team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.hb-team__card {
  text-align: center;
  background: var(--hb-white);
  border-radius: var(--hb-radius);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--hb-shadow);
}

.hb-team__photo {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hb-team__name {
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 16px 4px;
}

.hb-team__role {
  font-size: 0.85rem;
  color: var(--hb-wood);
  padding-bottom: 16px;
}

/* Contact */
.hb-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.hb-contact__info {
  background: var(--hb-charcoal);
  color: var(--hb-cream);
  padding: 36px;
  border-radius: var(--hb-radius);
  border-left: 4px solid var(--hb-wood);
}

.hb-contact__info h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
  color: var(--hb-oak);
}

.hb-contact__item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.hb-contact__icon {
  width: 36px;
  height: 36px;
  background: var(--hb-wood);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.hb-contact__item a {
  color: var(--hb-oak);
}

.hb-contact__item a:hover {
  color: var(--hb-cream);
}

.hb-form {
  background: var(--hb-white);
  padding: 36px;
  border-radius: var(--hb-radius);
  box-shadow: 0 4px 24px var(--hb-shadow);
}

.hb-form__group {
  margin-bottom: 20px;
}

.hb-form__label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--hb-charcoal);
}

.hb-form__input,
.hb-form__textarea,
.hb-form__select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--hb-oak);
  border-radius: var(--hb-radius);
  font-family: var(--hb-font);
  font-size: 0.95rem;
  background: var(--hb-cream);
  transition: border-color var(--hb-transition);
  color: var(--hb-charcoal);
}

.hb-form__input:focus,
.hb-form__textarea:focus,
.hb-form__select:focus {
  outline: none;
  border-color: var(--hb-wood);
}

.hb-form__textarea {
  min-height: 140px;
  resize: vertical;
}

.hb-form__success {
  display: none;
  padding: 16px;
  background: #E8F5E9;
  border: 1px solid var(--hb-forest);
  border-radius: var(--hb-radius);
  color: var(--hb-forest);
  font-weight: 500;
  margin-top: 16px;
}

.hb-form__success--visible {
  display: block;
}

/* Process steps */
.hb-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.hb-process__step {
  text-align: center;
  padding: 28px 16px;
  position: relative;
}

.hb-process__step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--hb-wood);
  color: var(--hb-cream);
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 14px;
  font-size: 1.1rem;
}

.hb-process__title {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.hb-process__text {
  font-size: 0.85rem;
  color: #666;
}

/* Privacy */
.hb-privacy {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.hb-privacy h1 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--hb-charcoal);
}

.hb-privacy__updated {
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 36px;
}

.hb-privacy h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--hb-wood);
  padding-bottom: 6px;
  border-bottom: 2px solid var(--hb-oak);
}

.hb-privacy h3 {
  font-size: 1.05rem;
  margin: 20px 0 8px;
  color: var(--hb-charcoal);
}

.hb-privacy p,
.hb-privacy li {
  margin-bottom: 12px;
  color: #444;
  font-size: 0.95rem;
}

.hb-privacy ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

/* CTA banner */
.hb-cta {
  background: var(--hb-forest);
  padding: 56px 24px;
  text-align: center;
}

.hb-cta__title {
  font-size: 1.8rem;
  color: var(--hb-cream);
  margin-bottom: 12px;
}

.hb-cta__text {
  color: var(--hb-oak);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* Footer */
.hb-footer {
  background: var(--hb-charcoal);
  color: var(--hb-oak);
  padding: 56px 0 0;
}

.hb-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.hb-footer__brand {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--hb-cream);
  margin-bottom: 12px;
}

.hb-footer__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.hb-footer__heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--hb-cream);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hb-footer__links li {
  margin-bottom: 8px;
}

.hb-footer__links a {
  color: var(--hb-oak);
  font-size: 0.9rem;
}

.hb-footer__links a:hover {
  color: var(--hb-cream);
}

.hb-footer__bottom {
  border-top: 1px solid rgba(212, 184, 150, 0.2);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}

/* Cookie banner */
.hb-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--hb-charcoal);
  border-top: 3px solid var(--hb-wood);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.hb-cookie--visible {
  transform: translateY(0);
}

.hb-cookie__inner {
  max-width: var(--hb-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.hb-cookie__text {
  color: var(--hb-oak);
  font-size: 0.9rem;
  flex: 1;
  min-width: 260px;
}

.hb-cookie__text a {
  color: var(--hb-cream);
  text-decoration: underline;
}

.hb-cookie__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.hb-cookie__btn {
  padding: 10px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--hb-radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--hb-transition);
}

.hb-cookie__btn--accept {
  background: var(--hb-wood);
  color: var(--hb-cream);
  border-color: var(--hb-wood);
}

.hb-cookie__btn--accept:hover {
  background: var(--hb-wood-dark);
}

.hb-cookie__btn--decline {
  background: transparent;
  color: var(--hb-oak);
  border-color: var(--hb-oak);
}

.hb-cookie__btn--decline:hover {
  background: rgba(212, 184, 150, 0.15);
}

/* Responsive — 1024px */
@media (max-width: 1024px) {
  .hb-hero__title {
    font-size: 2.5rem;
  }

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

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

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

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

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

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

/* Responsive — 768px */
@media (max-width: 768px) {
  .hb-burger {
    display: flex;
  }

  .hb-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--hb-charcoal);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 28px 28px;
    transition: right var(--hb-transition);
    z-index: 999;
    overflow-y: auto;
  }

  .hb-nav--open {
    right: 0;
  }

  .hb-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .hb-nav__link {
    display: block;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(212, 184, 150, 0.15);
  }

  .hb-nav__item--mega {
    width: 100%;
  }

  .hb-mega {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    min-width: auto;
    box-shadow: none;
    border: none;
    padding: 0 0 10px;
    background: transparent;
    display: none;
  }

  .hb-nav__item--mega.hb-mega-open .hb-mega {
    display: block;
  }

  .hb-mega__grid {
    grid-template-columns: 1fr;
  }

  .hb-mega__item {
    padding: 8px 0;
  }

  .hb-mega__thumb {
    width: 56px;
    height: 42px;
  }

  .hb-hero {
    min-height: 460px;
  }

  .hb-hero__title {
    font-size: 2rem;
  }

  .hb-hero--page .hb-hero__title {
    font-size: 1.8rem;
  }

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

  .hb-features {
    grid-template-columns: 1fr;
  }

  .hb-services-grid {
    grid-template-columns: 1fr;
  }

  .hb-service-card {
    flex-direction: column;
  }

  .hb-service-card__img {
    width: 100%;
    height: 200px;
  }

  .hb-service-card__body {
    padding: 20px;
  }

  .hb-about-grid {
    grid-template-columns: 1fr;
  }

  .hb-contact-grid {
    grid-template-columns: 1fr;
  }

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

  .hb-cookie__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hb-cookie__actions {
    justify-content: stretch;
  }

  .hb-cookie__btn {
    flex: 1;
    text-align: center;
  }
}

/* Responsive — 480px */
@media (max-width: 480px) {
  .hb-hero__title {
    font-size: 1.65rem;
  }

  .hb-hero__text {
    font-size: 1rem;
  }

  .hb-section__title {
    font-size: 1.6rem;
  }

  .hb-portfolio {
    grid-template-columns: 1fr;
  }

  .hb-counters {
    grid-template-columns: 1fr 1fr;
  }

  .hb-counter__num {
    font-size: 2rem;
  }

  .hb-process {
    grid-template-columns: 1fr;
  }

  .hb-team {
    grid-template-columns: 1fr;
  }

  .hb-filter__btn {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .hb-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
