/**
 * Site responsive overrides — tablet/mobile only.
 * All rules live inside media queries; desktop base CSS is untouched.
 * Breakpoints: 768px, 480px.
 */

/* —— 768px and below —— */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  img,
  video {
    max-width: 100%;
    height: auto;
  }

  .hero-scale-section {
    --hero-gutter: 20px;
  }

  .hero-scale-section__inner {
    max-width: 100%;
  }

  .hero-scale-section__headline {
    font-size: clamp(32px, 7vw, 44px);
    letter-spacing: -0.02em;
    max-width: 100%;
  }

  .hero-scale-section__subtitle {
    font-size: 17px;
    max-width: 100%;
    padding: 0 4px;
  }

  .hero-scale-section__actions {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
    gap: 12px;
  }

  .hero-scale-section__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .hero-scale-section__stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    padding: 16px 12px;
  }

  .hero-scale-section__stat-value,
  .hero-scale-section__stat-label {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .hero-scale-section__stat-value {
    flex-shrink: 0;
    line-height: 1;
  }

  .hero-scale-section__stat-label {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
  }

  .hero-scale-section__media {
    max-width: 100%;
    height: clamp(220px, 48vw, 360px);
  }

  .hero-scale-section__media-img {
    object-fit: cover;
  }

  .problem-section {
    --problem-gutter: 20px;
  }

  .problem-section__inner {
    padding-top: 100px;
    padding-bottom: 120px;
  }

  .problem-section__headline-wrap,
  .problem-section__subtitle {
    max-width: 100%;
  }

  .problem-section__headline {
    font-size: clamp(26px, 5.5vw, 38px);
  }

  .problem-section__label {
    font-size: 26px;
  }

  .solution-section {
    --solution-gutter: 20px;
  }

  .solution-section__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 56px;
    padding-bottom: 56px;
    min-height: auto;
  }

  .solution-section__card {
    width: 100%;
    max-width: 100%;
    min-height: 280px;
    justify-self: stretch;
  }

  .solution-section__headline {
    font-size: clamp(26px, 5.5vw, 38px);
    max-width: 100%;
    margin-top: 28px;
  }

  .solution-section__features {
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 40px;
    row-gap: 32px;
  }

  .solution-section__feature {
    width: 100%;
    max-width: 100%;
  }

  .solution-section__feature-text {
    width: 100%;
    max-width: 100%;
  }

  .projects-section {
    --projects-gutter: 20px;
  }

  .projects-section__inner {
    padding: 56px var(--projects-gutter);
  }

  .projects-section__headline {
    font-size: clamp(26px, 5.5vw, 38px);
    max-width: 100%;
  }

  .projects-section__card {
    max-width: 100%;
    height: auto;
    min-height: 0;
    padding: 28px 20px 0;
  }

  .projects-section__card-header {
    padding-right: 0;
    padding-bottom: 0;
  }

  .projects-section__card-title {
    word-break: break-word;
  }

  .projects-section__card-desc {
    max-width: 100%;
  }

  .projects-section__btn {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 12px;
    min-width: 0;
    max-width: 100%;
  }

  .projects-section__media {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    margin-top: 14px;
  }

  .projects-section__media-panel {
    height: clamp(200px, 42vw, 280px);
    min-height: clamp(200px, 42vw, 280px);
    max-width: 100%;
  }

  .projects-section__media-mockup {
    object-fit: contain;
    object-position: center bottom;
  }

  .services-section {
    --services-gutter: 20px;
  }

  .services-section__inner {
    padding: 56px var(--services-gutter) 72px;
  }

  .services-section__headline {
    font-size: clamp(26px, 5.5vw, 38px);
    max-width: 100%;
  }

  .services-section__grid {
    width: 100%;
    max-width: 100%;
  }

  .services-section__row {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
  }

  .services-section__card,
  .services-section__card--sm,
  .services-section__card--sm-mid,
  .services-section__row--bottom .services-section__card,
  .services-section__row--bottom .services-section__card:nth-child(1),
  .services-section__row--bottom .services-section__card:nth-child(2),
  .services-section__row--bottom .services-section__card:nth-child(3),
  .services-section__row--bottom .services-section__card--sm,
  .services-section__row--bottom .services-section__card--sm-mid {
    box-sizing: border-box;
    flex: 1 1 auto;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: stretch;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: 300px;
  }

  .services-section__visual {
    width: 100%;
    max-width: 100%;
  }

  .services-section__visual-art {
    width: 100%;
    max-width: 100%;
  }

  .services-section__visual-img {
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .services-section__visual--brand .services-section__visual-img,
  .services-section__visual--marketing .services-section__visual-img,
  .services-section__visual--migration .services-section__visual-img {
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
  }

  .faq-section {
    --faq-gutter: 20px;
  }

  .faq-section__inner {
    padding: 56px var(--faq-gutter) 72px;
  }

  .faq-section__content {
    max-width: 100%;
  }

  .faq-section__headline {
    font-size: clamp(26px, 5.5vw, 38px);
    max-width: 100%;
  }

  .faq-section__list {
    width: 100%;
  }

  .faq-section__card {
    max-width: 100%;
  }

  .faq-section__trigger {
    height: auto;
    min-height: 56px;
    max-height: none;
    align-items: center;
    padding: 14px 12px 14px 16px;
  }

  .faq-section__question {
    font-size: 17px;
    white-space: normal;
    line-height: 1.35;
    align-self: center;
  }

  .faq-section__toggle {
    align-self: center;
  }

  .faq-section__toggle-icon {
    margin-top: 0;
  }

  .faq-section__contact-row {
    flex-direction: column;
    align-items: center;
  }

  .faq-section__contact-left {
    justify-content: center;
    width: 100%;
  }

  .faq-section__contact-text {
    max-width: 100%;
    text-align: center;
  }

  .faq-section__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-self: center;
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }

  .faq-section__btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    max-width: none;
    height: 36px;
    padding: 0 10px;
    gap: 6px;
    font-size: 12px;
    letter-spacing: -0.12px;
    white-space: nowrap;
  }

  .faq-section__btn--email,
  .faq-section__btn--message {
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
  }

  .faq-section__btn-icon--email {
    width: 18px;
    height: 14px;
  }

  .faq-section__btn-icon--message {
    width: 18px;
    height: 18px;
  }

  .cta-section {
    --cta-gutter: 20px;
  }

  .cta-section__inner {
    padding: 56px var(--cta-gutter);
  }

  .cta-section__card {
    width: 100%;
    max-width: 100%;
    padding: 32px 20px 28px;
    min-height: 0;
  }

  .cta-section__headline {
    font-size: clamp(24px, 5.5vw, 34px);
    max-width: 100%;
  }

  .cta-section__pill {
    max-width: 100%;
    flex-wrap: wrap;
    height: auto;
    min-height: 56px;
    justify-content: center;
  }

  .cta-section__pill-text {
    flex: 1 1 100%;
    text-align: center;
  }

  .cta-section__pill-btn {
    margin: 0 auto;
  }
}

/* —— 480px and below —— */
@media (max-width: 480px) {
  .hero-scale-section {
    --hero-gutter: 16px;
  }

  .hero-scale-section__decor {
    display: none;
  }

  .hero-scale-section__intro {
    margin-top: 28px;
  }

  .hero-scale-section__headline {
    font-size: clamp(28px, 8vw, 34px);
  }

  .hero-scale-section__subtitle {
    font-size: 16px;
  }

  .hero-scale-section__actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .hero-scale-section__btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-scale-section__stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-scale-section__stat {
    height: 140px;
    min-height: 140px;
    max-height: 140px;
    padding: 16px 10px;
    gap: 8px;
  }

  .hero-scale-section__stat-label {
    font-size: 13px;
    line-height: 1.35;
  }

  .hero-scale-section__media {
    height: clamp(200px, 54vw, 260px);
  }

  .problem-section {
    --problem-gutter: 16px;
  }

  .problem-section__inner {
    padding: 80px var(--problem-gutter) 96px;
  }

  .problem-section__label {
    font-size: 22px;
  }

  .problem-section__headline {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .solution-section {
    --solution-gutter: 16px;
  }

  .solution-section__inner {
    padding: 40px var(--solution-gutter);
  }

  .solution-section__label {
    font-size: 22px;
  }

  .solution-section__headline {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .solution-section__card {
    min-height: 220px;
  }

  .projects-section__inner {
    padding: 40px 16px;
  }

  .projects-section__label {
    font-size: 22px;
  }

  .projects-section__headline {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .projects-section__card {
    padding: 20px 16px 0;
  }

  .projects-section__media {
    margin-top: 12px;
  }

  .projects-section__media-panel {
    height: 200px;
    min-height: 200px;
  }

  .services-section__inner {
    padding: 40px 16px 56px;
  }

  .services-section__label {
    font-size: 22px;
  }

  .services-section__headline {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .services-section__card,
  .services-section__card--sm,
  .services-section__card--sm-mid,
  .services-section__row--bottom .services-section__card,
  .services-section__row--bottom .services-section__card:nth-child(1),
  .services-section__row--bottom .services-section__card:nth-child(2),
  .services-section__row--bottom .services-section__card:nth-child(3),
  .services-section__row--bottom .services-section__card--sm,
  .services-section__row--bottom .services-section__card--sm-mid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 280px;
  }

  .faq-section {
    --faq-gutter: 16px;
  }

  .faq-section__inner {
    padding: 48px var(--faq-gutter) 56px;
  }

  .faq-section__label {
    font-size: 22px;
  }

  .faq-section__headline {
    font-size: clamp(22px, 6.5vw, 28px);
  }

  .faq-section__question {
    font-size: 15px;
  }

  .faq-section__actions {
    gap: 6px;
  }

  .faq-section__btn {
    height: 34px;
    padding: 0 8px;
    gap: 5px;
    font-size: 11px;
  }

  .faq-section__btn-icon--email {
    width: 16px;
    height: 12px;
  }

  .faq-section__btn-icon--message {
    width: 16px;
    height: 16px;
  }

  .cta-section {
    --cta-gutter: 16px;
  }

  .cta-section__inner {
    padding: 48px var(--cta-gutter);
  }

  .cta-section__card {
    padding: 24px 16px 22px;
  }

  .cta-section__headline {
    font-size: clamp(20px, 6vw, 26px);
  }

  .cta-section__email {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-section__email-label,
  .cta-section__email-link {
    white-space: normal;
  }
}
