.home {
    width: min(1420px, calc(100% - 40px));
    margin: 0 auto;
    padding: 25px 0 50px;
}

.mobile-search {
    display: none;
}

.hero {
    min-height: 320px;
    padding: 45px;
    border-radius: 24px;
    background: var(--black);
    color: #ffffff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: "";
    width: 430px;
    height: 430px;
    border: 80px solid var(--red);
    border-radius: 50%;
    position: absolute;
    top: -200px;
    right: -130px;
}

.hero::after {
    content: "";
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(226, 27, 35, .35);
    position: absolute;
    right: 230px;
    bottom: -120px;
}

.hero-content {
    width: min(720px, 100%);
    position: relative;
    z-index: 2;
}

.hero-location {
    display: inline-block;
    margin-bottom: 16px;
    padding: 8px 13px;
    border: 1px solid rgba(226, 27, 35, .4);
    border-radius: 20px;
    background: rgba(226, 27, 35, .12);
    color: #ff6268;
    font-size: 13px;
    font-weight: 700;
}

.hero h1 {
    max-width: 700px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.03;
    letter-spacing: -2px;
}

.hero h1 strong {
    color: var(--red);
}

.hero p {
    max-width: 620px;
    margin-top: 16px;
    color: #b9b9b9;
    font-size: 17px;
    line-height: 1.5;
}

.hero-search {
    max-width: 680px;
    margin-top: 25px;
    padding: 6px;
    border-radius: 14px;
    background: #ffffff;
    display: flex;
}

.hero-search input {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
    border: 0;
    outline: none;
}

.hero-search button {
    height: 48px;
    padding: 0 25px;
    border: 0;
    border-radius: 10px;
    background: var(--red);
    color: #ffffff;
    font-weight: 700;
}

.home-actions {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.home-action {
    min-height: 90px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: .2s;
}

.home-action:hover {
    transform: translateY(-2px);
    border-color: #aaaaaa;
}

.home-action > span {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: #efefef;
    font-size: 23px;
    display: grid;
    place-items: center;
}

.home-action strong {
    display: block;
    font-size: 15px;
}

.home-action small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}

.home-section {
    margin-top: 38px;
}

.section-header {
    margin-bottom: 17px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 15px;
}

.section-header h2 {
    font-size: 24px;
}

.section-header p {
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
}

.section-header > a {
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
}

.categories {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.category-card {
    min-height: 115px;
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: .2s;
}

.category-card:hover {
    border-color: var(--red);
    transform: translateY(-2px);
}

.category-card img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.category-icon {
    font-size: 31px;
}

.category-card strong {
    font-size: 13px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px;
}

.product-card {
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
    overflow: hidden;
    transition: .2s;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .07);
}

.product-image {
    height: 190px;
    background: #dddddd;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-featured {
    padding: 6px 9px;
    border-radius: 7px;
    background: var(--red);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    position: absolute;
    top: 10px;
    left: 10px;
}

.product-content {
    padding: 14px;
}

.product-price {
    display: block;
    font-size: 20px;
    font-weight: 900;
}

.product-title {
    min-height: 40px;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
    display: block;
}

.product-tags {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-tags span {
    padding: 5px 7px;
    border-radius: 6px;
    background: #f0f0f0;
    color: #666666;
    font-size: 10px;
    font-weight: 700;
}

.product-location {
    margin-top: 11px;
    color: var(--muted);
    font-size: 11px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.service-card {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    display: flex;
    gap: 13px;
}

.service-photo {
    width: 65px;
    height: 65px;
    flex: 0 0 65px;
    border-radius: 14px;
    overflow: hidden;
    background: #dddddd;
}

.service-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content h3 {
    font-size: 14px;
}

.service-content span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 11px;
    display: block;
}

.service-content strong {
    margin-top: 7px;
    color: var(--red);
    font-size: 12px;
    display: block;
}

.referral {
    margin-top: 40px;
    padding: 35px;
    border-radius: 22px;
    background: linear-gradient(120deg, #151515, #292929);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.referral > div {
    max-width: 720px;
}

.referral span {
    color: #ff6369;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.referral h2 {
    margin-top: 8px;
    font-size: 28px;
}

.referral p {
    margin-top: 8px;
    color: #aaaaaa;
    line-height: 1.5;
}

.referral > a {
    padding: 14px 20px;
    border-radius: 11px;
    background: var(--red);
    color: #ffffff;
    font-weight: 700;
    white-space: nowrap;
}