/* @2026 Mario Machado. */
@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 140px 1fr 178px 142px;
    gap: 12px;
    padding: 8px 22px;
  }

  .brand img {
    width: 118px;
  }

  .nav-menu {
    gap: 22px;
  }

  .top-call {
    padding: 0 12px;
  }

  .top-budget {
    padding: 0 14px;
  }

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

  .services-worker {
    opacity: 0.32;
  }

  .about-inner {
    grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1fr);
    gap: 34px;
  }

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

  .values-panel {
    grid-template-columns: minmax(180px, 220px) 1fr;
    margin-inline: 0;
  }

  .values-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .value-item + .value-item {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 86px;
  }

  main {
    padding-top: 0;
  }

  .site-header {
    grid-template-columns: 190px 46px;
    justify-content: space-between;
    min-height: 72px;
    padding: 8px 14px 8px 18px;
  }

  .brand img {
    width: 180px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--soft-shadow);
  }

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

  .nav-menu a {
    width: 100%;
    padding: 14px 0;
    text-align: center;
  }

  .top-call {
    display: none;
  }

  .top-budget {
    display: none;
  }

  .hero-stage {
    height: auto;
    min-height: 0;
    padding: 92px 14px 28px;
  }

  .page-shell {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    border-radius: 18px;
    transform: none;
  }

  .hero {
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 28px 18px 20px;
    overflow: hidden;
  }

  .hero-grid {
    display: block;
    padding-top: 0;
  }

  .hero-content {
    max-width: none;
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 12px;
  }

  h1 {
    max-width: 100%;
    font-size: 38px;
    line-height: 1.08;
  }

  h1 i {
    width: 28px;
    height: 28px;
    margin-left: 4px;
    vertical-align: 2px;
  }

  .hero-copy {
    margin: 16px 0 22px;
    font-size: 16px;
    line-height: 1.52;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0 20px;
    font-size: 14px;
    border-radius: 14px;
  }

  .trust-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }

  .trust-item {
    min-width: 0;
    gap: 12px;
    font-size: 14px;
  }

  .trust-item .icon-bubble {
    width: 44px;
    height: 44px;
  }

  .trust-item svg {
    width: 24px;
    height: 24px;
  }

  .hero-photo {
    position: relative;
    z-index: 1;
    top: auto;
    right: auto;
    width: calc(100% + 36px);
    height: 260px;
    margin: 0 -18px;
    border-radius: 0 0 22px 22px;
    object-position: center;
  }

  .hero::before,
  .blue-curve {
    display: none;
  }

  .quick-card {
    position: relative;
    z-index: 2;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 0;
    margin-top: -34px;
    padding: 18px;
    border-radius: 16px;
  }

  .quick-card strong {
    font-size: 16px;
  }

  .quick-card p {
    font-size: 13px;
  }

  .whatsapp-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .service-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
    margin-top: 18px;
    border-radius: 16px;
  }

  .service-item {
    justify-content: flex-start;
    gap: 10px;
    min-height: 76px;
    padding: 14px;
    font-size: 13px;
  }

  .service-item + .service-item {
    border-left: 0;
  }

  .service-item:nth-child(2n) {
    border-left: 1px solid rgba(255, 255, 255, 0.24);
  }

  .service-item:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }

  .service-item svg {
    width: 30px;
    height: 30px;
  }

  .hero-footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 16px;
  }

  .stats-card {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 16px;
  }

  .stat-item {
    min-height: 72px;
    padding: 16px;
  }

  .stat-item + .stat-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .stat-item svg {
    width: 32px;
    height: 32px;
  }

  .stat-item strong {
    font-size: 22px;
  }

  .whatsapp-cta {
    grid-template-columns: 46px minmax(0, 1fr) 18px;
    min-height: 88px;
    padding: 16px;
    border-radius: 16px;
  }

  .whatsapp-cta > span:first-child {
    width: 46px;
    height: 46px;
  }

  .services-page {
    padding: 72px 18px 24px;
  }

  .about-page {
    min-height: auto;
    margin-bottom: 44px;
    padding: 74px 18px 28px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-media {
    min-height: auto;
  }

  .about-media img {
    height: 360px;
    border-radius: 0 14px 44px 0;
  }

  .quality-card {
    left: 14px;
    bottom: 14px;
  }

  .about-content h2 {
    font-size: 34px;
  }

  .about-stats,
  .values-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .values-panel {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 20px;
  }

  .value-item + .value-item {
    border-left: 0;
  }

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

  .services-heading h2 {
    font-size: 42px;
  }

  .services-cart {
    left: 50%;
    top: 286px;
    width: 210px;
    transform: translateX(-120%);
  }

  .services-worker {
    right: -70px;
    top: 200px;
    width: 320px;
  }

  .services-trust {
    position: relative;
    left: auto;
    bottom: auto;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    margin-top: 250px;
    transform: none;
  }

  .services-trust .trust-item + .trust-item {
    padding-left: 0;
    border-left: 0;
  }

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

  .service-card {
    padding-right: 168px;
  }

  .service-card-image {
    width: 198px;
  }

  .service-card::before {
    right: 92px;
    width: 126px;
  }

  .budget-strip {
    grid-template-columns: 1fr;
    width: 100%;
    text-align: center;
  }

  .budget-strip > span,
  .budget-strip > strong {
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .hero-stage {
    padding-inline: 10px;
  }

  .hero {
    padding: 24px 16px 18px;
  }

  h1 {
    font-size: 32px;
  }

  .hero-photo {
    width: calc(100% + 32px);
    height: 230px;
    margin-inline: -16px;
  }

  .quick-card {
    align-items: flex-start;
    gap: 12px;
  }

  .about-page {
    padding-inline: 16px;
  }

  .about-media img {
    height: 310px;
  }

  .about-stats,
  .values-list {
    grid-template-columns: 1fr;
  }

  .about-stat {
    min-height: auto;
  }

  .value-item {
    min-height: auto;
    padding: 14px 0;
  }

  .service-card {
    min-height: 520px;
    padding: 24px 24px 250px;
  }

  .service-card::before {
    top: auto;
    right: -24px;
    bottom: 210px;
    width: 120%;
    height: 86px;
    transform: skewY(-8deg);
  }

  .service-card-image {
    top: auto;
    bottom: 0;
    width: 100%;
    height: 250px;
  }

  .services-heading h2 {
    font-size: 34px;
  }

  .services-heading p {
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .service-strip {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(2n) {
    border-left: 0;
  }

  .service-item:nth-child(n + 2) {
    border-top: 1px solid rgba(255, 255, 255, 0.24);
  }
}
