﻿@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

/* =========================================================
   CLIO Homepage - Figma reference: 1440 x 3488
   ========================================================= */

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff;
    color: #030303;
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 0;
}

/* overflow는 각 섹션(.hero, .express__card 등)에서 처리. hidden이면 푸터(브랜드 바 가로 스크롤)가 잘림 */
.page {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow-x: visible;
    overflow-y: visible;
}

/* =========================================================
   Section Title (Noto Sans KR 40 / #666)
   ========================================================= */
.section-title {
    margin: 0;
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: clamp(22px, 2.78vw, 40px);
    line-height: 1.1;
    letter-spacing: 2.4px;
    color: #666666;
    text-align: center;
}

/* =========================================================
   HEADER
   ========================================================= */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 95px;
    z-index: 10;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(78, 78, 78, 0.34) 57%,
        rgba(202, 202, 202, 0) 100%
    );
}

.header__inner {
    position: relative;
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 57px;
}

.header__logo {
    display: inline-flex;
    align-items: center;
    height: 22px;
    color: #ffffff;
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 2px;
}

.header__logo .logo-text {
    white-space: nowrap;
}

.header__nav {
    position: absolute;
    left: 413px;
    top: 31px;
    display: flex;
    gap: 56px;
    height: 39px;
    align-items: center;
}

.header__nav a {
    color: #ffffff;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 39px;
    letter-spacing: 0.5px;
    transition: opacity .2s;
}

.header__nav a:hover {
    opacity: 0.75;
}

.header__utility {
    position: absolute;
    right: 57px;
    top: 31px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.header__lang {
    position: relative;
    display: flex;
    align-items: center;
    gap: 22px;
    color: #ffffff;
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 39px;
}

.lang-btn {
    color: #ffffff;
    opacity: 0.7;
}

.lang-btn.is-active {
    opacity: 1;
}

.lang-divider {
    width: 1px;
    height: 12px;
    background: #ffffff;
}

.header__shop {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 25px;
    padding: 0 14px;
    background: #ffffff;
    color: #000000;
    border-radius: 200px;
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 13px;
    transition: transform .2s;
}

.header__shop:hover {
    transform: translateY(-1px);
}

.shop-icon {
    display: inline-flex;
    align-items: center;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1440 / 847;
    max-height: 847px;
    overflow: hidden;
}

/* index.css 레거시 `.hero { height: 942px }`가 로드되므로, 브랜드 페이지는 비율로만 높이 결정 */
body.brand-clio .hero,
body.brand-peripera .hero,
body.brand-goodal .hero,
body.brand-dermatory .hero,
body.brand-healingbird .hero,
body.brand-typenumber .hero,
body.brand-truerx .hero {
    height: auto;
}

.hero__bg {
    position: absolute;
    inset: 0;
}

.brand-goodal .hero,
.brand-goodal .hero__bg {
    background: #ffffff;
}

.hero__bg img,
.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 전역 `img { max-width: 100% }` 무력화 — 브랜드 히어로 배경은 컨테이너에 맞게 cover */
body.brand-clio .hero__bg img,
body.brand-peripera .hero__bg img,
body.brand-goodal .hero__bg img,
body.brand-dermatory .hero__bg img,
body.brand-healingbird .hero__bg img,
body.brand-typenumber .hero__bg img,
body.brand-truerx .hero__bg img,
body.brand-clio .hero__bg video,
body.brand-peripera .hero__bg video,
body.brand-goodal .hero__bg video,
body.brand-dermatory .hero__bg video,
body.brand-healingbird .hero__bg video,
body.brand-typenumber .hero__bg video,
body.brand-truerx .hero__bg video {
    max-width: none;
}

/* Healingbird desktop hero: fill width like design reference */
@media (min-width: 1025px) {
    body.brand-healingbird .hero__bg img {
        object-fit: cover;
        object-position: center 26%;
        transform: none;
    }
}

/* TRUERX: 이미지 파일 교체 없이 공통 히어로(1440/847) 슬롯에 object-fit: cover로만 크롭.
   원본이 세로로 길어 기본(center)보다 아래쪽(컵 본체)을 우선해 위쪽이 덜 보이게 함. index.css .hero #333 비침 방지 */
body.brand-truerx .hero {
    background: #ffffff;
}

body.brand-truerx .hero__bg img,
body.brand-truerx .hero__bg video {
    object-fit: cover;
    object-position: center bottom;
}

/* Hero overlay (CLIO logo + description) */
.hero__overlay {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.78vw, 40px);
    padding: 0 clamp(16px, 2.78vw, 40px);
    pointer-events: none;
    z-index: 2;
}

/* Hero logo image (replaces brand text logo) */
.hero__logo-img {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.hero__logo-img img {
    display: block;
    width: auto;
    max-width: min(560px, 70%);
    height: auto;
    max-height: clamp(80px, 12.5vw, 180px);
    object-fit: contain;
}

body.brand-clio .hero__logo-img img {
    max-width: min(280px, 35%);
    max-height: clamp(40px, 6.25vw, 90px);
}

body.brand-goodal .hero__logo-img img,
body.brand-peripera .hero__logo-img img,
body.brand-truerx .hero__logo-img img {
    max-width: min(448px, 56%);
    max-height: clamp(64px, 10vw, 144px);
}

/* TRUERX 로고만 공통값 대비 5% 축소 */
body.brand-truerx .hero__logo-img img {
    max-width: min(426px, 53.2%);
    max-height: clamp(61px, 9.5vw, 137px);
}

.brand-goodal .hero__desc {
    color: #666666;
    text-shadow: none;
}

.brand-healingbird .hero__desc {
    color: #FFFFFF;
}

.hero__desc {
    margin: 0;
    width: 1022px;
    max-width: 100%;
    text-align: center;
    color: #1a1a1a;
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: clamp(11px, 1.11vw, 16px);
    line-height: 1.8;
    letter-spacing: 0;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.35);
}

/* hero 본문 텍스트의 데스크톱/모바일 분기용 modifier
   - 기본: 데스크톱 버전 표시, 모바일 버전 숨김
   - 모바일(≤768px): 데스크톱 버전 숨김, 모바일 버전 표시
   - 같은 hero__desc를 두 벌 두고 줄바꿈/문구만 다르게 쓸 때 사용 */
.hero__desc--mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .hero__desc--desktop-only {
        display: none;
    }

    .hero__desc--mobile-only {
        display: block;
    }
}

/* =========================================================
   BRAND STORY (dark section: title + video + pill)
   ========================================================= */
.brand-story {
    position: relative;
    width: 100%;
    background: #020202;
    padding: clamp(50px, 8.3vw, 120px) clamp(16px, 2.78vw, 40px);
    text-align: center;
}

/* 페리페라 전용: 분홍 배경 */
.brand-peripera .brand-story {
    background: #EB89A0;
}

/* 구달 전용: 옐로우 배경 + 다크 텍스트 + 흰 pill */
.brand-goodal .brand-story {
    background: #FFF586;
}

.brand-goodal .express__title,
.brand-goodal .express__subtitle {
    color: #666666;
}

.brand-goodal .express__tag {
    background: transparent;
    border-color: #666666;
    color: #666666;
}

/* 더마토리 전용: 다크 블루 배경 */
.brand-dermatory .brand-story {
    background: #003672;
}

/* 힐링버드 전용: 라이트 블루 배경 + 검정 pill 보더 */
.brand-healingbird .brand-story {
    background: #C7E8FA;
}

.brand-healingbird .express__title,
.brand-healingbird .express__subtitle,
.brand-healingbird .express__tag {
    color: #666666;
}

.brand-healingbird .express__tag {
    border-color: #666666;
    min-width: 0;
    padding: 8px 20px;
    font-size: 13px;
}

/* 타입넘버 전용: 베이지 배경 + 다크 텍스트/pill */
.brand-typenumber .brand-story {
    background: #F0EBDE;
}

.brand-typenumber .express__title,
.brand-typenumber .express__subtitle {
    color: #1A1A1A;
}

.brand-typenumber .express__tag {
    border-color: #1A1A1A;
    color: #1A1A1A;
}

/* 트루알엑스 전용: 화이트 배경 + 그레이 텍스트/pill */
.brand-truerx .brand-story {
    background: #FFFFFF;
}

.brand-truerx .express__title,
.brand-truerx .express__subtitle {
    color: #666666;
}

.brand-truerx .express__tag {
    border-color: #999999;
    color: #666666;
}

/* =========================================================
   EXPRESS (beige section: 5장 이미지 그리드)
   ========================================================= */
.express {
    position: relative;
    width: 100%;
    background: #E5DFD6;
    padding: 0;
}

.brand-story__image {
    width: 100%;
    max-width: 913px;
    aspect-ratio: 913 / 525;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
}

.brand-story__image img,
.brand-story__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Express yours! (다크 배경 위 헤드라인) */
.express__title {
    margin: 0 0 16px;
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3.9vw, 56px);
    line-height: 1.2;
    letter-spacing: 0.5px;
    color: #ffffff;
    text-align: center;
}

.express__subtitle {
    margin: 0 auto clamp(30px, 4.17vw, 60px);
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: clamp(13px, 1.39vw, 20px);
    line-height: 1.5;
    letter-spacing: 0;
    color: #ffffff;
    text-align: center;
}

.express__tags {
    list-style: none;
    margin: clamp(30px, 4.17vw, 60px) auto 0;
    padding: 0 clamp(8px, 1.5vw, 16px);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(8px, 1.11vw, 16px);
}

.express__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: clamp(72px, 7.6vw, 110px);
    padding: clamp(7px, 0.7vw, 10px) clamp(14px, 1.8vw, 26px);
    border: 1px solid #ffffff;
    border-radius: 999px;
    color: #ffffff;
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: clamp(12px, 1.04vw, 15px);
    line-height: 1;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

/* 5장 이미지 그리드 (1440 기준 한 칸 480x450) */
.express__grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: repeat(2, calc(100vw * 450 / 1440));
    gap: 0;
}

@media (min-width: 1440px) {
    .express__grid {
        grid-template-rows: 450px 450px;
    }
}

.express__card {
    position: relative;
    display: block;
    overflow: hidden;
    background: #000;
    transition: transform .4s ease;
}

.express__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease, opacity .4s ease;
    display: block;
}

.express__card:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* BEST / NEW 라벨 (좌상단) */
.express__badge {
    position: absolute;
    top: clamp(10px, 1.67vw, 24px);
    left: clamp(12px, 1.94vw, 28px);
    z-index: 2;
    color: #666666;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.94vw, 28px);
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    word-wrap: break-word;
    pointer-events: none;
}

/* 왼쪽 대형 이미지: 2행 full-height */
.express__card--large {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
}

.express__card--tr {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.express__card--tr2 {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
}

.express__card--br {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.express__card--br2 {
    grid-column: 3 / 4;
    grid-row: 2 / 3;
}

/* 브랜드 공통: 이미지 사이 여백 제거 */
.brand-clio .express__grid,
.brand-peripera .express__grid,
.brand-goodal .express__grid,
.brand-dermatory .express__grid,
.brand-truerx .express__grid,
.brand-typenumber .express__grid,
.brand-healingbird .express__grid {
    gap: 0;
    background: transparent;
}

/* =========================================================
   AWARDS
   ========================================================= */
.awards {
    position: relative;
    width: 100%;
    padding: clamp(30px, 4.17vw, 60px) 0 0;
}

.awards .section-title,
.follow .section-title {
    margin-bottom: clamp(20px, 2.78vw, 40px);
    color: #666666;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 40px;
    line-height: 39px;
    letter-spacing: 2.4px;
    word-wrap: break-word;
}

.awards__banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 2.78vw, 40px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.awards__banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* 브랜드 페이지 — Express(또는 동등 섹션) ↔ AWARDS, AWARDS ↔ Follow 구간 여백 */
body.brand-clio .awards,
body.brand-peripera .awards,
body.brand-goodal .awards,
body.brand-dermatory .awards,
body.brand-healingbird .awards,
body.brand-typenumber .awards,
body.brand-truerx .awards {
    margin-top: 57px;
    margin-bottom: 57px;
}

/* Awards — Split layout (badge + banner) used by healingbird */
.awards--split .awards__row {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.awards__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.awards--split .awards__badge {
    flex: 0 0 200px;
}

.awards__badge img {
    width: 100%;
    height: auto;
    display: block;
}

.awards__badge-caption {
    margin: 0;
    text-align: center;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;
    color: #111111;
}

.awards--split .awards__banner {
    flex: 1 1 0;
    min-width: 0;
    max-width: 965px;
    margin: 0;
    padding: 0;
}

/* Awards — 4 badges in a row (used by truerx) */
.awards--badges {
    padding: 60px 0 40px;
}

.awards--badges .awards__badges {
    list-style: none;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: start;
    justify-items: center;
}

.awards--badges .awards__badge {
    width: 100%;
    max-width: 220px;
    gap: 20px;
}

.awards--badges .awards__badge-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.awards--badges .awards__badge-img img {
    width: auto;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.awards--badges .awards__badge-caption {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.2px;
}

@media (max-width: 1024px) and (orientation: portrait) {
    .awards--badges .awards__badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }
}

/* 브랜드 페이지 히어로: ≤768px에서 동일 비율 슬롯(640 전용이면 태블릿 세로에서 높이만 달라짐) */
@media (max-width: 1024px) and (orientation: portrait) {
    body.brand-clio .hero,
    body.brand-peripera .hero,
    body.brand-goodal .hero,
    body.brand-dermatory .hero,
    body.brand-healingbird .hero,
    body.brand-typenumber .hero,
    body.brand-truerx .hero {
        aspect-ratio: 402 / 403;
        max-height: none;
        width: 100%;
        margin: 0;
        border-radius: 0;
        background: #ffffff;
    }

    body.brand-clio .hero__bg,
    body.brand-peripera .hero__bg,
    body.brand-goodal .hero__bg,
    body.brand-dermatory .hero__bg,
    body.brand-healingbird .hero__bg,
    body.brand-typenumber .hero__bg,
    body.brand-truerx .hero__bg {
        border-radius: 0;
        overflow: hidden;
    }

    body.brand-clio .hero__bg img,
    body.brand-peripera .hero__bg img,
    body.brand-goodal .hero__bg img,
    body.brand-dermatory .hero__bg img,
    body.brand-healingbird .hero__bg img,
    body.brand-typenumber .hero__bg img,
    body.brand-truerx .hero__bg img,
    body.brand-clio .hero__bg video,
    body.brand-peripera .hero__bg video,
    body.brand-goodal .hero__bg video,
    body.brand-dermatory .hero__bg video,
    body.brand-healingbird .hero__bg video,
    body.brand-typenumber .hero__bg video,
    body.brand-truerx .hero__bg video {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center center;
        transform: none;
    }

    /* TRUERX: 데스크톱과 동일하게 하단(컵 본체)부터 보이도록 정렬.
       1.3배 확대해 컵을 컨테이너에 가득 채우고, 하단 기준으로 잡아
       위쪽 여백이 슬롯 밖으로 밀려나도록 함. .hero overflow:hidden 으로 자연 크롭됨 */
    body.brand-truerx .hero__bg img,
    body.brand-truerx .hero__bg video {
        object-position: center bottom;
        transform: scale(1.3);
        transform-origin: center bottom;
    }
}

/* =========================================================
   모바일 반응형: 작은 스마트폰 ~ 갤럭시 Z Fold 펼침 ~ iPad Pro 13" 세로(~1024px)
   모든 사이즈가 화면 폭 비율로 늘어나고 줄어들도록 fluid scaling
   ========================================================= */
@media (max-width: 1024px) and (orientation: portrait) {
    /* EXPRESS 5장 그리드 → 1열 (각 카드 16:10 비율 유지) */
    .express__grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .express__card,
    .express__card--large,
    .express__card--tr,
    .express__card--tr2,
    .express__card--br,
    .express__card--br2 {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 16 / 10;
    }

    /* 브랜드 페이지 공통 모바일(402 기준): 스토리 영상·express
       express: 상단 large 한 장 전체 표시 → 하단 4칸 2×2 (힐링버드/타입넘버는 파일명만 image3~, 슬롯 동일) */
    .brand-clio .brand-story__image,
    .brand-peripera .brand-story__image,
    .brand-goodal .brand-story__image,
    .brand-dermatory .brand-story__image,
    .brand-healingbird .brand-story__image,
    .brand-typenumber .brand-story__image,
    .brand-truerx .brand-story__image {
        max-width: 100%;
        aspect-ratio: 402 / 232;
    }

    .brand-clio .express__grid,
    .brand-peripera .express__grid,
    .brand-goodal .express__grid,
    .brand-dermatory .express__grid,
    .brand-healingbird .express__grid,
    .brand-typenumber .express__grid,
    .brand-truerx .express__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
    }

    .brand-clio .express__card--large,
    .brand-peripera .express__card--large,
    .brand-goodal .express__card--large,
    .brand-dermatory .express__card--large,
    .brand-healingbird .express__card--large,
    .brand-typenumber .express__card--large,
    .brand-truerx .express__card--large {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
        /* image2(slug large): 원본 세로까지 전부 노출 — 2:1 고정+cover 시 상하 크롭 */
        aspect-ratio: auto;
        align-self: start;
        height: auto;
    }

    .brand-clio .express__card img,
    .brand-peripera .express__card img,
    .brand-goodal .express__card img,
    .brand-dermatory .express__card img,
    .brand-healingbird .express__card img,
    .brand-typenumber .express__card img,
    .brand-truerx .express__card img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
        object-position: center center;
    }

    .brand-clio .express__card--large img,
    .brand-peripera .express__card--large img,
    .brand-goodal .express__card--large img,
    .brand-dermatory .express__card--large img,
    .brand-healingbird .express__card--large img,
    .brand-typenumber .express__card--large img,
    .brand-truerx .express__card--large img {
        width: 100%;
        height: auto;
        object-fit: unset;
        object-position: unset;
        display: block;
    }

    .brand-clio .express__card--tr,
    .brand-peripera .express__card--tr,
    .brand-goodal .express__card--tr,
    .brand-dermatory .express__card--tr,
    .brand-healingbird .express__card--tr,
    .brand-typenumber .express__card--tr,
    .brand-truerx .express__card--tr {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        aspect-ratio: 1 / 1;
        height: 100%;
    }

    .brand-clio .express__card--tr2,
    .brand-peripera .express__card--tr2,
    .brand-goodal .express__card--tr2,
    .brand-dermatory .express__card--tr2,
    .brand-healingbird .express__card--tr2,
    .brand-typenumber .express__card--tr2,
    .brand-truerx .express__card--tr2 {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        aspect-ratio: 1 / 1;
        height: 100%;
    }

    .brand-clio .express__card--br,
    .brand-peripera .express__card--br,
    .brand-goodal .express__card--br,
    .brand-dermatory .express__card--br,
    .brand-healingbird .express__card--br,
    .brand-typenumber .express__card--br,
    .brand-truerx .express__card--br {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        aspect-ratio: 1 / 1;
        height: 100%;
    }

    .brand-clio .express__card--br2,
    .brand-peripera .express__card--br2,
    .brand-goodal .express__card--br2,
    .brand-dermatory .express__card--br2,
    .brand-healingbird .express__card--br2,
    .brand-typenumber .express__card--br2,
    .brand-truerx .express__card--br2 {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
        aspect-ratio: 1 / 1;
        height: 100%;
    }

    /* FOLLOW 카드 → 1열 (아래 전역 .follow__* 보다 특이도 높여야 적용됨) */
    .follow .follow__grid {
        grid-template-columns: repeat(3, 106px);
        justify-content: center;
        max-width: 420px;
    }

    .follow .follow__card {
        width: 106px;
        height: 94px;
        aspect-ratio: auto;
        border-radius: 10px;
    }

    .follow .follow__label {
        font-size: clamp(10px, 3.2vw, 14px);
    }

    /* AWARDS / VISIT AND FOLLOW US — 모바일만 */
    .awards .section-title,
    .follow .section-title {
        font-size: 24px;
        line-height: 39px;
        letter-spacing: 0.03em;
    }
}

/* =========================================================
   VISIT AND FOLLOW US
   ========================================================= */
.follow {
    position: relative;
    width: 100%;
    padding: clamp(30px, 4.17vw, 60px) 0 clamp(50px, 7vw, 100px);
}

.follow__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3.3vw, 48px);
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(20px, 5vw, 72px);
}

.follow__card {
    position: relative;
    width: 100%;
    aspect-ratio: 390 / 210;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.follow__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.follow__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.follow__card:hover img {
    transform: scale(1.05);
}

.follow__card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
    pointer-events: none;
    transition: background .3s ease;
}

.follow__card:hover::after {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0.45) 100%
    );
}

.follow__label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #F5F5F5;
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 2.4vw, 35px);
    text-align: center;
    z-index: 1;
    white-space: nowrap;
}

/* Instagram / YouTube uppercase */
.follow__card:nth-child(2) .follow__label,
.follow__card:nth-child(3) .follow__label {
    text-transform: uppercase;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    width: 100%;
    background: #111111;
    color: #cccccc;
    padding: 40px 0;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 72px;
    font-size: 13px;
}

.footer__copy {
    margin: 0;
    letter-spacing: 0.5px;
}

.footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px;
}

.footer__links a {
    color: #cccccc;
    transition: color .2s;
}

.footer__links a:hover {
    color: #ffffff;
}

/* 페리페라 모바일만: 정사각형 히어로 배너(contain) — PC는 브랜드 공통 cover와 동일 */
@media screen and (max-width: 1024px) {
    body.brand-peripera .hero__bg {
        background: #fde8f1;
    }

    body.brand-peripera .hero__bg img,
    body.brand-peripera .hero__bg video {
        object-fit: contain;
        object-position: center center;
        transform: none;
    }
}
