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

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

@media (max-width: 1600px) {
  .hero-visual {
    width: min(850px, 53.125vw);
  }
}

@media (max-width: 1440px) {
  :root {
    --container: 1080px;
  }

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

  .cta-bg,
  .footer-bg {
    width: calc((100vw - var(--container)) / 2 + var(--container) + 48px);
  }
}

@media (max-width: 1366px) {
  :root {
    --container: 1040px;
  }

  .logo-link img {
    width: 260px;
  }

  .hero-copy h1 {
    font-size: clamp(76px, 6.3vw, 92px);
  }

  .listing-inner {
    grid-template-columns: 248px minmax(0, 1fr);
  }

  .filter-trigger {
    font-size: 18px;
  }

  .equipment-card {
    padding-inline: 16px;
  }

  .cta-inner {
    grid-template-columns: minmax(390px, 430px) minmax(0, 1fr);
    gap: 56px;
  }

  .cta-content {
    min-width: 0;
  }
}

@media (max-width: 1199px) {
  :root {
    --container: 920px;
  }

  .logo-link img {
    width: 238px;
  }

  .hero-copy {
    width: min(520px, 58vw);
  }

  .hero-copy h1 {
    font-size: clamp(68px, 7.6vw, 86px);
  }

  .hero-visual {
    width: min(650px, 58vw);
    height: 330px;
  }

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

  .equipment-sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    align-items: start;
  }

  .search-card,
  .filter-card {
    width: 100%;
  }

  .filter-card {
    min-height: 0;
  }

  .filter-panel {
    grid-template-columns: repeat(3, max-content);
    gap: 18px 24px;
  }

  .equipment-grid {
    grid-template-columns: repeat(3, minmax(260px, 320px));
    justify-content: center;
  }

  .cta-inner {
    grid-template-columns: minmax(390px, 430px) minmax(0, 1fr);
    gap: 48px;
  }

  .cta-image {
    width: 460px;
  }

  .cta-content h2 {
    font-size: clamp(38px, 5vw, 52px);
  }
}

@media (max-width: 1024px) {
  .site-header {
    height: 78px;
  }

  .header-inner {
    width: min(100% - 48px, var(--container));
  }

  .logo-link img {
    width: 218px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 78px;
    left: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    border: 1px solid rgba(1, 170, 255, 0.16);
    border-radius: 0 0 10px 10px;
    background: var(--white);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
    padding: 0 18px;
    transition: max-height 240ms ease, opacity 180ms ease, transform 180ms ease, visibility 180ms ease, padding 180ms ease;
  }

  .site-nav.is-open {
    max-height: 310px;
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    padding: 10px 18px 18px;
  }

  .site-nav a {
    padding: 15px 0;
    font-size: 16px;
  }

  .site-nav .nav-button {
    width: 152px;
    height: 42px;
    margin-top: 8px;
    padding: 0 18px;
  }

  .equipment-hero {
    min-height: 444px;
    padding: 78px 0 0;
  }

  .hero-inner {
    min-height: 366px;
  }

  .hero-copy {
    width: min(560px, 67vw);
    padding-top: 105px;
  }

  .hero-copy h1 {
    font-size: clamp(62px, 7.8vw, 80px);
  }

  .hero-visual {
    top: 0;
    right: calc((var(--container) - 100vw) / 2);
    width: min(620px, 58vw);
    height: 300px;
    border-radius: 190px 0 0 190px;
  }

  .equipment-listing {
    padding-bottom: 92px;
  }

  .cta-inner {
    grid-template-columns: 377px minmax(0, 1fr);
    gap: 56px;
  }

  .cta-image {
    width: 398px;
    height: 246px;
    margin-left: -27px;
    overflow: hidden;
    border-radius: 0 130px 130px 0;
  }

  .cta-content h2 {
    font-size: clamp(34px, 4.5vw, 46px);
  }
}

@media (max-width: 991px) {
  :root {
    --container: 720px;
  }

  .container {
    width: 100% !important;
    padding: 0 20px !important;
  }

  .equipment-hero {
    min-height: 405px;
  }

  .hero-inner {
    min-height: 327px;
  }

  .hero-copy {
    width: min(500px, 68vw);
    padding-top: 92px;
  }

  .hero-copy h1 {
    font-size: clamp(56px, 8vw, 72px);
  }

  .hero-visual {
    width: min(560px, 62vw);
    height: 270px;
    border-radius: 180px 0 0 180px;
  }

  .equipment-sidebar {
    grid-template-columns: 1fr;
  }

  .filter-card {
    padding: 22px;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, minmax(260px, 1fr));
  }

  .pagination {
    margin-top: 36px;
    flex-wrap: wrap;
  }

  .listing-rings {
    bottom: -360px;
    width: min(430px, 56vw);
  }

  .cta-section {
    min-height: auto;
    padding-top: 0;
  }

  .cta-bg {
    inset: 80px 0 0 0;
    width: auto;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cta-image {
    width: min(490px, calc(100% + 18px));
    height: auto;
    aspect-ratio: 490 / 246;
    margin-left: -18px;
  }

  .cta-content {
    padding: 52px 0 0px;
  }

  .email-button {
    min-width: min(458px, 100%);
  }

  .footer-bg {
    left: 0;
    width: auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 44px !important;
  }
}

@media (max-width: 900px) {
  :root {
    --container: 760px;
  }

  .hero-copy {
    width: min(440px, 65vw);
  }

  .hero-copy h1 {
    font-size: clamp(52px, 7.7vw, 66px);
  }

  .hero-visual {
    width: min(500px, 60vw);
    height: 246px;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 26px;
  }

  .site-footer {
    position: relative;
    padding: 37px 0 50px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 16px;
  }

  .site-header {
    height: 70px;
  }

  .header-inner {
    width: calc(100% - 36px);
  }

  .logo-link img {
    width: 205px;
  }

  .site-nav {
    top: 70px;
    left: 18px;
    right: 18px;
  }

  .equipment-hero {
    min-height: 314px;
    padding: 70px 0 0;
  }

  .hero-inner {
    min-height: 244px;
  }

  .hero-rings {
    opacity: 0.32;
  }

  .hero-copy {
    width: min(330px, 86vw);
    padding-top: 90px;
  }

  .hero-copy h1 {
    font-size: clamp(50px, 13vw, 70px);
  }

  .hero-visual {
    top: 18px;
    right: -76px;
    width: 305px;
    height: 170px;
    border-radius: 100px 0 0 100px;
  }

  .equipment-listing {
    padding-bottom: 82px;
  }

  .sidebar-card h2 {
    font-size: 22px;
  }

  .filter-trigger {
    min-height: 56px;
    font-size: 18px;
  }

  .filter-panel {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .equipment-grid {
    grid-template-columns: minmax(0, 320px);
    justify-content: center;
  }

  .equipment-card {
    min-height: 0;
    padding: 16px;
  }

  .equipment-card img {
    width: min(244px, 100%);
  }

  .page-text {
    order: 2;
  }

  .cta-content h2 {
    font-size: clamp(34px, 8vw, 46px);
  }

  .email-button {
    width: 100%;
    height: 58px;
    margin-bottom: 34px;
    font-size: 19px;
    padding: 0 18px;
  }

  .footer-links nav {
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 575px) {
  .container {
    width: calc(100% - 30px);
  }

  .header-inner {
    width: calc(100% - 30px);
  }

  .site-header {
    height: 66px;
  }

  .logo-link img {
    width: 182px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .site-nav {
    top: 66px;
    left: 15px;
    right: 15px;
  }

  .equipment-hero {
    min-height: 286px;
    padding-top: 66px;
  }

  .hero-visual {
    top: 18px;
    right: -92px;
    width: 270px;
    height: 154px;
    border-radius: 92px 0 0 92px;
  }

  .hero-copy {
    width: min(300px, 86vw);
    padding-top: 84px;
  }

  .hero-copy h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .search-card,
  .filter-card {
    border-radius: 16px;
    padding: 18px;
  }

  .search-field input {
    font-size: 14px;
  }

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

  .equipment-card {
    border-radius: 16px;
  }

  .equipment-card h2 {
    font-size: 19px;
  }

  .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 300px;
    margin-inline: auto;
    gap: 10px;
    margin-top: 32px;
  }

  .page-number {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    font-size: 16px;
  }

  .page-text {
    width: 126px;
    flex: 0 0 126px;
    min-height: 42px;
    justify-content: center;
    border: 1px solid rgba(84, 90, 108, 0.18) !important;
    border-radius: 999px;
    background: var(--white) !important;
    font-size: 14px;
    font-weight: 600;
    padding: 0 14px;
  }

  .pagination .page-number {
    order: 1;
  }

  .pagination .page-text {
    order: 2;
  }

  .listing-rings {
    bottom: -250px;
    width: min(360px, 82vw);
  }

  .cta-bg {
    inset: 58px 0 0 0;
  }

  .cta-image {
    width: calc(100% + 15px);
    margin-left: -15px;
    border-radius: 0 100px 100px 0;
  }

  .cta-content {
    padding: 42px 0 0;
  }

  .footer-brand img {
    width: 220px;
  }
}

@media (max-width: 480px) {
  .hero-copy h1 {
    font-size: clamp(42px, 13vw, 54px);
  }

  .equipment-listing {
    padding-bottom: 66px;
  }

  .filter-trigger {
    min-height: 54px;
  }

  .equipment-card li {
    font-size: 14px;
  }

  .cta-content h2 {
    font-size: clamp(32px, 9vw, 40px);
  }

  .email-button {
    font-size: 17px;
  }
}

@media (max-width: 430px) {
  .container,
  .header-inner {
    width: calc(100% - 24px);
  }

  .logo-link img {
    width: 170px;
  }

  .hero-visual {
    right: -108px;
    width: 268px;
  }

  .hero-copy {
    width: min(280px, 86vw);
  }

  .hero-copy h1 {
    font-size: clamp(38px, 13vw, 50px);
  }

  .email-button {
    font-size: 16px;
  }
}

@media (max-width: 390px) {
  .logo-link img {
    width: 164px;
  }

  .hero-visual {
    right: -120px;
    width: 260px;
  }

  .filter-trigger {
    font-size: 16px;
  }

  .page-number {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

@media (max-width: 375px) {
  .container,
  .header-inner {
    width: calc(100% - 24px);
  }

  .logo-link img {
    width: 198px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    left: 12px;
    right: 12px;
  }

  .hero-copy h1 {
    font-size: 39px;
  }

  .sidebar-card h2 {
    font-size: 21px;
  }

  .pagination {
    justify-content: center;
  }

  .page-text {
    font-size: 14px;
  }

  .email-button {
    font-size: 15px;
  }

  .footer-brand img {
    width: 190px;
  }
}

@media (max-width: 320px) {
  .container,
  .header-inner {
    width: calc(100% - 20px);
  }

  .logo-link img {
    width: 142px;
  }

  .menu-toggle {
    width: 34px;
    height: 34px;
    padding: 7px;
  }

  .equipment-hero {
    min-height: 260px;
  }

  .hero-copy {
    width: min(238px, 86vw);
    padding-top: 82px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-visual {
    right: -122px;
    width: 235px;
    height: 138px;
  }

  .search-card,
  .filter-card,
  .equipment-card {
    padding: 15px;
  }

  .equipment-card img {
    height: 165px;
  }

  .equipment-card h2 {
    font-size: 18px;
  }

  .equipment-card li {
    font-size: 13px;
  }

  .details-button {
    height: 38px;
    font-size: 14px;
  }

  .page-number {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    font-size: 15px;
  }

  .page-text {
    flex-basis: 118px;
    font-size: 13px;
  }

  .email-button {
    height: 54px;
    font-size: 14px;
  }
}
