.main-banner-section {
    width: 100%;
    padding: 24px 0 0;
    background: #f6f9fd;
}

.main-banner-swiper {
    width: min(1280px, calc(100% - 48px));
    height: 390px;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
}

.main-banner-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.main-banner-link-disabled {
    pointer-events: none;
    cursor: default;
}

.main-banner-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            90deg,
            rgba(15, 23, 42, 0.82) 0%,
            rgba(15, 23, 42, 0.52) 42%,
            rgba(15, 23, 42, 0.08) 100%
    );
}

.main-banner-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: min(1280px, 100%);
    height: 100%;
    margin: 0 auto;
    padding: 0 70px;
}

.main-banner-content {
    width: min(680px, 100%);
    color: #ffffff;
}

.main-banner-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    backdrop-filter: blur(8px);
}

.main-banner-title {
    margin-top: 22px;
    color: #ffffff;
    font-size: clamp(36px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.15;
    word-break: keep-all;
}

.main-banner-subtitle {
    max-width: 620px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 19px;
    line-height: 1.7;
    word-break: keep-all;
}

.main-banner-action {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 13px 22px;
    border-radius: 12px;
    color: #ffffff;
    background: #0d9488;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(13, 148, 136, 0.28);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.main-banner-link:hover .main-banner-action {
    background: #0f766e;
    transform: translateY(-2px);
}

.main-banner-navigation {
    width: 46px !important;
    height: 46px !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    color: #ffffff !important;
    background: rgba(15, 23, 42, 0.34);
    backdrop-filter: blur(8px);
}

.main-banner-navigation::after {
    font-size: 18px !important;
    font-weight: 900;
}

.main-banner-swiper .swiper-button-prev {
    left: 24px;
}

.main-banner-swiper .swiper-button-next {
    right: 24px;
}

.main-banner-swiper .swiper-pagination {
    bottom: 22px !important;
}

.main-banner-swiper .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.65);
    opacity: 1;
}

.main-banner-swiper .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 999px;
    background: #ffffff;
}

.main-banner-swiper.single-slide .swiper-pagination, .main-banner-swiper.single-slide .main-banner-navigation {
    display: none;
}

.default-hero-section {
    display: flex;
    align-items: center;
    min-height: 390px;
    background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 50%, #fffbeb 100%);
}

.petcity-home {
    padding: 18px 24px 42px;
    background: #f6f9fd;
}

.petcity-home * {
    box-sizing: border-box;
}

.petcity-home__inner {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.petcity-finder {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}

.petcity-finder__item {
    display: flex;
    align-items: center;
    min-height: 108px;
    padding: 16px 22px;
    border: 1px solid #dfe7f0;
    border-radius: 15px;
    color: #102e5d;
    background: #ffffff;
    box-shadow: 0 3px 9px rgba(30, 58, 95, 0.05);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.petcity-finder__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(30, 58, 95, 0.1);
}

.petcity-finder__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    margin-right: 17px;
    border-radius: 50%;
}

.petcity-finder__icon--blue {
    color: #0877df;
    background: #eaf8ff;
}

.petcity-finder__icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.petcity-finder__text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.petcity-finder__text strong {
    color: #102e5d;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    word-break: keep-all;
}

.petcity-finder__text small {
    color: #5f6673;
    font-size: 14px;
    line-height: 1.45;
    word-break: keep-all;
}

.petcity-arrow {
    flex: 0 0 auto;
    width: 23px;
    height: 23px;
    margin-left: auto;
    fill: none;
    stroke: #677386;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.petcity-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(350px, 1fr);
    gap: 12px;
    margin-bottom: 18px;
}

.petcity-panel {
    overflow: hidden;
    border: 1px solid #dfe7f0;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 3px 9px rgba(30, 58, 95, 0.04);
}

.petcity-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 28px 16px;
}

.petcity-panel__header h2 {
    margin: 0;
    color: #102e5d;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.petcity-panel__header p {
    margin: 5px 0 0;
    color: #606875;
    font-size: 14px;
}

.petcity-popular {
    padding-bottom: 10px;
}

.petcity-popular__list {
    padding: 0 20px;
}

.petcity-hospital-row {
    display: grid;
    grid-template-columns: 40px 64px minmax(145px, 1fr) auto auto auto;
    align-items: center;
    gap: 9px;
    min-height: 88px;
    padding: 10px 4px;
    border-top: 1px solid #e4eaf1;
}

.petcity-hospital-row__rank {
    color: #08aae4;
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.06em;
}

.petcity-hospital-row__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border: 1px solid #dce7f2;
    border-radius: 9px;
    color: #1687db;
}

.petcity-hospital-row__icon svg {
    width: 43px;
    height: 43px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
}

.petcity-hospital-row__name {
    overflow: hidden;
    color: #102e5d;
    font-size: 17px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.petcity-hospital-row__location, .petcity-hospital-row__zzim {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #5d6571;
    font-size: 13px;
    white-space: nowrap;
}

.petcity-hospital-row__location svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: #68717d;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.petcity-hospital-row__zzim svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #ff4d4f;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.petcity-detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #5c87ca;
    border-radius: 9px;
    color: #254f89;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.petcity-detail-button:hover {
    color: #ffffff;
    background: #254f89;
}

.petcity-detail-button svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.petcity-empty-message {
    padding: 35px 20px;
    color: #717b89;
    text-align: center;
}

.petcity-community {
    padding: 0 18px 8px;
}

.petcity-community .petcity-panel__header {
    padding: 22px 10px 14px;
}

.petcity-community__item {
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 74px;
    padding: 9px 7px;
    border-top: 1px solid #e4eaf1;
    color: #173662;
    text-decoration: none;
}

.petcity-community__item:hover {
    background: #f8fcff;
}

.petcity-community__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 49px;
    height: 49px;
    border-radius: 50%;
}

.petcity-community__icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.petcity-community__icon--blue {
    color: #078ee3;
    background: #e4f6ff;
}

.petcity-community__icon--green {
    color: #16a534;
    background: #e9faea;
}

.petcity-community__icon--purple {
    color: #7b36bd;
    background: #f3eaff;
}

.petcity-community__icon--orange {
    color: #ef8b00;
    background: #fff2d9;
}

.petcity-community__item strong {
    color: #173662;
    font-size: 17px;
    font-weight: 700;
}

.petcity-owner-banner {
    display: flex;
    align-items: center;
    min-height: 98px;
    padding: 16px 26px;
    border: 1.5px solid #00aeef;
    border-radius: 12px;
    color: #153862;
    background: linear-gradient(100deg, #ffffff 0%, #f1fbff 100%);
    text-decoration: none;
}

.petcity-owner-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-right: 15px;
    color: #048bd4;
}

.petcity-owner-banner__icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.petcity-owner-banner p {
    margin: 0;
    font-size: 18px;
    line-height: 1.45;
}

.petcity-owner-banner p strong {
    font-weight: 800;
}

.petcity-owner-banner p em {
    color: #00a9e8;
    font-style: normal;
}

.petcity-owner-banner__button {
    min-width: 190px;
    margin-left: auto;
    padding: 14px 20px;
    border-radius: 10px;
    color: #ffffff;
    background: #08aee6;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 174, 230, 0.2);
}

@media (max-width: 1050px) {
    .petcity-home__inner {
        width: 100%;
    }

    .petcity-finder__item {
        padding: 14px;
    }

    .petcity-finder__icon {
        width: 54px;
        height: 54px;
        margin-right: 12px;
    }

    .petcity-finder__icon svg {
        width: 33px;
        height: 33px;
    }

    .petcity-finder__text strong {
        font-size: 18px;
    }

    .petcity-finder__text small {
        font-size: 12px;
    }

    .petcity-content-grid {
        grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
    }

    .petcity-hospital-row {
        grid-template-columns: 34px 54px minmax(120px, 1fr) auto auto;
        gap: 7px;
    }

    .petcity-hospital-row__icon {
        width: 54px;
        height: 54px;
    }

    .petcity-hospital-row__zzim {
        display: none;
    }

    .petcity-owner-banner p {
        font-size: 16px;
    }

    .petcity-owner-banner__button {
        min-width: 155px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .main-banner-section {
        padding-top: 0;
    }

    .main-banner-swiper {
        width: 100%;
        height: 420px;
        border-radius: 0;
    }

    .main-banner-container {
        padding: 0 28px;
    }

    .main-banner-overlay {
        background: linear-gradient(
                90deg,
                rgba(15, 23, 42, 0.82) 0%,
                rgba(15, 23, 42, 0.62) 70%,
                rgba(15, 23, 42, 0.36) 100%
        );
    }

    .main-banner-title {
        font-size: 38px;
    }

    .main-banner-subtitle {
        font-size: 16px;
    }

    .main-banner-navigation {
        display: none;
    }

    .petcity-home {
        padding: 16px;
    }

    .petcity-finder, .petcity-content-grid {
        grid-template-columns: 1fr;
    }

    .petcity-finder__item {
        min-height: 94px;
    }

    .petcity-community {
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    .main-banner-swiper {
        height: 380px;
    }

    .main-banner-container {
        padding: 0 20px;
    }

    .main-banner-title {
        font-size: 31px;
    }

    .main-banner-action {
        margin-top: 24px;
    }

    .petcity-home {
        padding: 12px;
    }

    .petcity-panel__header {
        padding: 20px 16px 14px;
    }

    .petcity-panel__header h2 {
        font-size: 21px;
    }

    .petcity-popular__list {
        padding: 0 14px;
    }

    .petcity-hospital-row {
        grid-template-columns: 32px 52px minmax(0, 1fr);
        min-height: 78px;
        padding: 8px 0;
    }

    .petcity-hospital-row__rank {
        font-size: 20px;
    }

    .petcity-hospital-row__icon {
        width: 50px;
        height: 50px;
    }

    .petcity-hospital-row__icon svg {
        width: 36px;
        height: 36px;
    }

    .petcity-hospital-row__name {
        font-size: 15px;
    }

    .petcity-hospital-row__location, .petcity-hospital-row__zzim, .petcity-detail-button {
        display: none;
    }

    .petcity-community {
        padding: 0 14px;
    }

    .petcity-community__item strong {
        font-size: 16px;
    }

    .petcity-owner-banner {
        flex-wrap: wrap;
        padding: 18px;
    }

    .petcity-owner-banner__icon {
        width: 42px;
        height: 42px;
        margin-right: 8px;
    }

    .petcity-owner-banner__icon svg {
        width: 34px;
        height: 34px;
    }

    .petcity-owner-banner p {
        width: calc(100% - 52px);
        font-size: 15px;
    }

    .petcity-owner-banner__button {
        width: 100%;
        min-width: 0;
        margin-top: 14px;
    }
}
