/* =========================================================
   아이언치과 — IRON DENTAL CLINIC
   메인 히어로 (PC 우선 / 반응형)
   ========================================================= */

:root {
    --brand:       #c1907e;
    --brand-dark:  #263d5e;
    --brand-sky:   #d6ab9c;
    --ink:         #1b2a3d;
    --white:       #ffffff;
    --muted:       rgba(255, 255, 255, 0.78);
    --line:        rgba(255, 255, 255, 0.26);
    --gutter:      36px;
    --maxw:        1440px;
    --header-h:    96px;
}

* { box-sizing: border-box; }

html { overflow-x: hidden; }

body {
    margin: 0;
    background: #101c2c;
    color: var(--ink);
    line-height: 1.5;
    font-family: "Pretendard", "Pretendard Variable", -apple-system, BlinkMacSystemFont,
        system-ui, "Apple SD Gothic Neo", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 한글이 단어 중간에서 끊기지 않도록 (예: "아이언치 / 과의원") */
    word-break: keep-all;
    overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }   /* 폼 요소도 Pretendard 상속 */

/* ---------- 헤더 ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 70;        /* 메뉴 오버레이(50)보다 위 — 평소 헤더 노출 */
    height: var(--header-h);
    display: flex;
    align-items: center;
    /* 260904 — 기본 상단 바는 전 페이지 공통 흰 배경 */
    background: #fff;
    box-shadow: 0 1px 0 rgba(17, 24, 39, .06);
    transition: background-color .3s ease, box-shadow .3s ease,
                transform .34s cubic-bezier(.22, .61, .36, 1);
}
/* 아래로 스크롤하면 헤더를 걷어내 화면을 넓게 쓰고, 위로 스크롤하면 되돌린다.
   상단 150px 안에서는 항상 보인다. 전환은 js(main.js)가 클래스로만 지시한다. */
.site-header.is-hidden {
    transform: translateY(-100%);
}
@media (prefers-reduced-motion: reduce) {
    .site-header { transition: background-color .3s ease, box-shadow .3s ease; }
    .site-header.is-hidden { transform: none; }
}
/* 스크롤 시: 흰 배경 + 어두운 글자/로고 */
.site-header.is-scrolled {
    background: #fff;
    box-shadow: 0 2px 14px rgba(17, 24, 39, .08);
}
.site-header.is-scrolled .site-header__inner { color: #1f2937; }
.site-header.is-scrolled .utilnav__user { color: #1f2937; }
/* 밝은 바에서는 스크롤해도 햄버거를 그레이로 유지 (260904) */
.site-header.is-scrolled .hamburger--header span { background: #4A4C4D; }   /* 스크롤 시 헤더가 흰색이 되므로 어둡게 (어두운 테마는 dark.css 가 흰색으로 덮는다) */
/* 메뉴 오버레이 열림 시 헤더 숨김 */
body.menu-open .site-header {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.site-header__inner {
    /* 상단 블러·딤(.hgb, ::after)이 z-index 0 에 깔리므로 내용은 그 위로 */
    position: relative; z-index: 1;
    width: 100%;
    /* 시안 0910 p8 "더 화면 끝단에 로고 및 햄버거메뉴".
       본문과 같은 1440px 틀에 가둬 두니 1920 화면에서 로고가 276px 이나
       안쪽에서 시작했다. 헤더만 틀을 풀고 화면 가장자리를 기준으로 둔다. */
    max-width: none;
    margin: 0 auto;
    padding: 24px clamp(20px, 3.2vw, 56px);
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1f2937;
    transition: color .3s ease;
}

/* 헤더 소셜 아이콘 — 모바일에서만 노출 (PC 는 히어로 빠른상담 · 좌측 독이 담당) */
.hsocial { display: none; }
/* PC 빠른상담 버튼(.qbtn)과 같은 유리 질감 — 흰 반투명 + 흰 아이콘 */
.hsocial__btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; border-radius: 50%; flex: 0 0 auto;
    background: rgba(20, 48, 94, .04);
    border: 1px solid rgba(20, 48, 94, .14);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
/* 아이콘 SVG 가 흰색 단색 — 밝은 바에서는 햄버거와 같은 그레이 계열로 */
.hsocial__btn img { filter: brightness(0) invert(74%); }
.hsocial__btn img { width: 15px; height: 15px; display: block; }
.hsocial__btn:active { transform: scale(.92); }
.hsocial__btn:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); }
/* 헤더가 흰 배경으로 바뀌면(스크롤) 아이콘도 네이비 톤으로 */
.site-header.is-scrolled .hsocial__btn {
    background: rgba(20, 48, 94, .05); border-color: rgba(20, 48, 94, .18);
}

.brand { position: relative; display: inline-flex; align-items: center; }
.brand__img { display: block; height: 44px; width: auto; object-fit: contain; transition: opacity .3s ease; }
.brand__img--dark { position: absolute; inset: 0; opacity: 0; }

.utilnav__link, .utilnav__phone, .utilnav__user { font-size: 18px; font-weight: 600; }
.utilnav__link { opacity: 0.92; transition: opacity 0.2s; }
.utilnav__link:hover { opacity: 1; }
.utilnav__phone { letter-spacing: 0.01em; }
.utilnav__user { color: #fff; }
.utilnav__user strong { font-weight: 700; }

/* ---------- PC 상단 메뉴(GNB) — 1025px 이상에서 햄버거 대신 노출 (260904) ---------- */
.gnb { display: none; }
@media (min-width: 1025px) {
    .gnb { display: block; margin-left: clamp(26px, 3.6vw, 60px); margin-right: auto; }
    .gnb__list { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 36px); list-style: none; margin: 0; padding: 0; }
    .gnb__item { position: relative; }
    .gnb__link {
        display: inline-flex; align-items: center; gap: 6px;
        padding: 14px 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em;
        color: inherit; white-space: nowrap; transition: color .2s ease;
    }
    .gnb__link:hover { color: #5a90e0; }   /* 호버는 포인트 블루 (260904) */
    .gnb__link.is-active { color: #5a90e0; }
    .gnb__caret {
        width: 7px; height: 7px; margin-top: -3px;
        border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
        transform: rotate(45deg); opacity: .55; transition: transform .25s ease;
    }
    .gnb__item--has:hover .gnb__caret { transform: rotate(225deg); margin-top: 2px; }

    /* 드롭다운 — 상단 투명 패딩이 마우스가 건너가는 다리 역할 */
    .gnb__panel {
        position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-6px);
        padding-top: 14px; z-index: 5;
        opacity: 0; visibility: hidden; pointer-events: none;
        transition: opacity .22s ease, transform .22s ease, visibility .22s;
    }
    .gnb__item--has:hover .gnb__panel,
    .gnb__item--has:focus-within .gnb__panel {
        opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
    }
    .gnb__sub {
        list-style: none; margin: 0; padding: 8px;
        min-width: 190px; background: #fff; border-radius: 12px;
        box-shadow: 0 18px 48px rgba(17, 24, 39, .16), 0 2px 8px rgba(17, 24, 39, .06);
    }
    .gnb__sub a {
        display: block; padding: 10px 14px; border-radius: 8px;
        font-size: 15px; font-weight: 600; letter-spacing: -.02em;
        color: #273e5e; white-space: nowrap; transition: background .18s ease, color .18s ease;
    }
    .gnb__sub a:hover { background: #f5f6f8; color: #5a90e0; }
    .gnb__sub a.is-active { color: #5a90e0; }

    /* GNB 가 생겼으므로 우측 유틸은 조금 작게 */
    .utilnav__link, .utilnav__phone, .utilnav__user { font-size: 15px; }
    .utilnav__phone { font-size: 16px; font-weight: 700; }
}
/* 다크 페이지 헤더에서는 포인트색을 밝은 로즈골드로 */
@media (min-width: 1025px) {
    body.theme-dark .gnb__link:hover { color: #5a90e0; }
    body.theme-dark .gnb__link.is-active { color: #5a90e0; }
}

/* 헤더 햄버거 (모바일/태블릿 전용) */
.hamburger { display: none; }
.hamburger--header {
    margin-left: auto;
    width: 46px; height: 46px;
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 6px;
    background: transparent; border: 0; cursor: pointer;
}
.hamburger--header span {
    display: block; width: 26px; height: 2.5px;
    /* 상단 바는 전 페이지 공통 흰 배경이므로 기본값도 어두운 회색(K 70%)이다.
       예전 기본값 #b2b4b5 는 흰 배경 위에서 너무 흐렸다. 어두운 테마에서
       스크롤해 바가 짙어지면 dark.css 가 흰색으로 덮는다. */
    background: #4A4C4D; border-radius: 2px;
    transition: background-color .3s ease;
}

/* ---------- 히어로 ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    isolation: isolate;
}

/* 히어로 배경 사진 (assets/images/hero.webp).
   파일이 없을 경우 아래 그라데이션이 폴백으로 표시됩니다. */
.hero__bg {
    position: absolute; inset: 0; z-index: -2;
    background-color: #263d5e;
    background-image:
        url('/assets/images/hero.webp'),
        linear-gradient(180deg, #6f8399 0%, #3c526e 36%, #263d5e 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 히어로 배경 영상 (assets/videos/hero.mp4) — 무음 자동재생 루프, 이미지 위에 덮임.
   블러는 제거했고, 확대도 하지 않아 원본 화질 그대로 보인다. */
.hero__video {
    position: absolute; inset: 0; z-index: -1;
    width: 100%; height: 100%; object-fit: cover;
    pointer-events: none;
}
/* 영상 위 딤 — 전체를 고르게 덮는 층 + 좌측 카피 가독성용 그라데이션 */
.hero__scrim {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        linear-gradient(100deg, rgba(8, 18, 40, .40) 0%, rgba(8, 18, 40, .14) 42%, rgba(8, 18, 40, 0) 62%),
        rgba(6, 14, 32, .46);
}

.hero__inner {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 620px;
    align-items: stretch;
    padding-top: var(--header-h);
    /* 좌측 정렬: 컨테이너(1440) 기준선까지 띄움. 우측 메가메뉴는 화면 끝까지 유지 */
    padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
}

/* 좌측 카피 */
.hero__lead {
    align-self: start;
    margin-top: 356.42px;          /* 헤더로부터의 간격 */
    color: #fff;
    max-width: 1040px;
    padding-right: var(--gutter);
}
.hero__title {
    margin: 0 0 19.08px;           /* 서브카피와의 갭 */
    font-size: 50px;
    line-height: 1.34;
    font-weight: 600;              /* SemiBold */
    letter-spacing: -0.02em;
}

/* 첫 진입 — 글자가 아래에서 모션블러로 한 글자씩 올라오는 등장 */
.hero__title .hero__word { display: inline-block; white-space: nowrap; }
.hero__title .hero__char {
    display: inline-block;
    animation: heroCharIn .9s cubic-bezier(.22, .68, .2, 1) both;
    animation-delay: calc(var(--ci) * 0.04s + 0.15s);
    will-change: transform, filter, opacity;
}
@keyframes heroCharIn {
    0%   { opacity: 0; transform: translateY(1.05em) scaleY(1.12); filter: blur(12px); }
    55%  { opacity: 1; filter: blur(3px); }
    100% { opacity: 1; transform: translateY(0) scaleY(1); filter: blur(0); }
}
@media (prefers-reduced-motion: reduce) {
    .hero__title .hero__char { animation: none; }
}
.hero__subtitle {
    margin: 0 0 34px;
    font-size: 22px;
    font-weight: 400;              /* Regular */
    color: var(--muted);
}

/* 빠른 상담 버튼 */
.quicklinks { position: relative; display: inline-block; }
.quicklinks__tip {
    position: absolute; z-index: 10;          /* 최상단(front) */
    top: -38.04px; left: 29.5px;              /* 카톡상담 버튼(143px) 정중앙 정렬 + 6px 겹침 */
    width: 84px; height: 44.04px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #FFFFFF; color: #000C1E;
    font-size: 13px; font-weight: 700;       /* Bold 13px */
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}
.quicklinks__tip::after {                      /* 꼬리: 박스 중앙 */
    content: ""; position: absolute; left: 50%; bottom: -4px;
    width: 10px; height: 10px; background: #FFFFFF;
    transform: translateX(-50%) rotate(45deg);
}
.quicklinks__row { display: flex; flex-wrap: wrap; gap: 10px; }

.qbtn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    width: 143px; height: 56px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.05);   /* #FFFFFF 5% */
    border: 1px solid rgba(255, 255, 255, 0.2);   /* stroke #FFFFFF 20% */
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    color: #fff; font-size: 16px; font-weight: 700;
    transition: background 0.2s, transform 0.2s;
}
.qbtn:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }
.qbtn__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px;
}
.qbtn__icon img { width: 100%; height: 100%; display: block; }
.qbtn__label { font-size: 18px; font-weight: 500; }   /* Medium 18px */

/* ---------- 우측 메가 메뉴 ---------- */
.mega {
    align-self: stretch;          /* 헤더 아래부터 채우되, 아래 max-height로 셀 과도 확대 방지 */
    max-height: 950px;            /* 셀 높이 상한 → 큰 화면에서도 약 190px 비율 유지 */
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: minmax(150px, 1fr);
}

.mega__cell {
    position: relative;
    display: flex; flex-direction: column;
    padding: 24px;
    color: #fff;
    background: rgba(0, 0, 0, 0.12);   /* #000000 12% */
    transition: background 0.25s;
}
.mega__cell:hover { background: rgba(0, 0, 0, 0.32); }
.mega__title { font-size: 21.61px; font-weight: 700; letter-spacing: -0.01em; }   /* Bold */
.mega__desc {
    margin-top: 7px;                 /* 제목과의 갭 */
    font-size: 18px; line-height: 1.4; font-weight: 400;   /* Regular */
    color: var(--muted);
}
.mega__plus {
    margin-top: auto;                /* 셀 하단으로 밀착 */
    align-self: flex-end;            /* 우하단 */
    width: 24px; height: 24px; display: block;
    transition: transform 0.25s;
}
.mega__cell:hover .mega__plus { transform: rotate(90deg); }

/* 호버 시 보더가 칸을 타고 도는 트레인(빛이 테두리를 한 바퀴) 애니메이션 */
@property --mega-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.mega__cell::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    padding: 2px; border-radius: inherit;
    background: conic-gradient(from var(--mega-angle),
        rgba(216, 179, 164, 0) 0deg, rgba(216, 179, 164, 0) 232deg,
        rgba(216, 179, 164, .55) 292deg, #f1e0d8 330deg, rgba(216, 179, 164, 0) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .3s ease;
}
.mega__cell:hover::after { opacity: 1; animation: megaTrain 1.5s linear infinite; }
@keyframes megaTrain { to { --mega-angle: 360deg; } }

/* 흰색 햄버거 박스 (메뉴 열기) */
.mega__menu {
    display: flex; align-items: center; justify-content: center;
    background: #fff; cursor: pointer;
    border: 0;
    transition: background 0.2s;
}
.mega__menu img { display: block; width: 43px; height: 37px; }
.mega__menu:hover { background: #f7ece7; }

/* ---------- 전체 메뉴 오버레이 ---------- */
.menu-overlay {
    position: fixed; inset: 0; z-index: 50;
    visibility: hidden; opacity: 0;
    background: rgba(10, 22, 48, 0.55);
    -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
    overflow-y: auto;
    transition: opacity 0.3s, visibility 0.3s;
}
.menu-overlay.is-open { visibility: visible; opacity: 1; }
.menu-overlay__inner {
    width: 100%; max-width: var(--maxw); margin: 0 auto;
    min-height: 100%;
    padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
    display: flex; flex-direction: column;
}
.menu-overlay__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 26px;
}
.menu-overlay__brand { display: inline-flex; align-items: center; opacity: 1; }
.menu-overlay__logo { height: 34px; width: auto; display: block; }
.menu-overlay__close {
    width: 48px; height: 48px; flex-shrink: 0;
    background: transparent; border: 0; color: #fff;
    font-size: 38px; font-weight: 300; line-height: 1; cursor: pointer;
}

.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.menu-item {
    display: flex; align-items: center; justify-content: space-between;
    height: 85px; padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 3px;
    color: #fff; font-size: 32px; font-weight: 700;
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    transition: background 0.2s;
}
.menu-item:hover { background: rgba(255, 255, 255, 0.14); }
.menu-item__arrow { display: inline-flex; align-items: center; color: rgba(255, 255, 255, 0.7); }
.menu-item__arrow svg { display: block; width: auto; height: 16px; }

.menu-section { margin: 44px 0 14px; color: rgba(255, 255, 255, 0.62); font-size: 15px; font-weight: 600; }

/* 드로어 하단 실행 버튼 — 시안 0910 p3
   넓은 '오시는 길 & 진료시간' + 정사각 전화 버튼 한 줄 */
.menu-overlay__foot {
    margin-top: 44px;
    display: flex; align-items: stretch; gap: 10px;
}
.menu-act {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 62px; border-radius: 12px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    color: #fff; font-size: 16px; font-weight: 500;
    transition: background .25s ease, border-color .25s ease;
}
.menu-act:hover, .menu-act:focus-visible {
    background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3);
}
.menu-act--wide { flex: 1 1 auto; padding: 0 18px; justify-content: space-between; }
.menu-act--tel  { flex: 0 0 62px; width: 62px; }
.menu-act--tel svg { width: 22px; height: 22px; fill: currentColor; }

/* =========================================================
   반응형
   ========================================================= */

/* 태블릿 이하 — 메가 숨기고 헤더 햄버거 노출, 카피 1열 */
@media (max-width: 1024px) {
    /* 카피와 카드 그리드의 좌측 기준선을 맞춘다 (데스크톱 컨테이너 여백 제거) */
    .hero__inner { grid-template-columns: 1fr; padding-bottom: 64px; padding-left: 0; }
    .hero__lead {
        align-self: center;
        margin: 0 0 8px;
        padding: 0 var(--gutter);
        max-width: none;
        text-align: left;
    }
    /* 카테고리 카드(임플란트·라미네이트·치과소개 등)를 모바일에서도 노출 */
    .mega {
        align-self: auto; max-height: none; margin: 0 auto;
        width: 100%; max-width: 620px; padding: 0 18px;
        gap: 10px; grid-auto-rows: minmax(92px, auto);
    }
    .mega__menu { display: none; }   /* 헤더 햄버거가 있으므로 카드 그리드에선 제외 */
    .mega__cell {
        background: rgba(8, 18, 40, .46); padding: 16px; border-radius: 12px;
        -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
    }
    .mega__title { font-size: 17px; }
    .mega__desc { font-size: 12.5px; margin-top: 4px; }
    .mega__plus { width: 20px; height: 20px; }
    /* 홈은 카테고리 카드로 이동하므로 햄버거를 숨기지만,
       상세페이지에는 다른 이동 수단이 없어 우측에 노출한다 */
    .hamburger--header { display: none; }
    .site-header--sub .hamburger--header {
        display: inline-flex; order: 9; margin-left: 4px; flex: 0 0 auto;
    }
    /* 햄버거 자리를 만들기 위해 소셜 아이콘을 한 단계 조인다 */
    .site-header--sub .hsocial { gap: 5px; }
    .site-header--sub .hsocial__btn { width: 26px; height: 26px; }
    .site-header--sub .hsocial__btn img { width: 14px; height: 14px; }
}

/* 모바일 */
@media (max-width: 640px) {
    :root { --header-h: 64px; --gutter: 18px; }
    .site-header__inner { padding: 14px var(--gutter); }
    .brand__img { height: 34px; width: auto; }
    .utilnav__link, .utilnav__user { display: none; }   /* 로그인·회원가입·계정은 메뉴에서 */
    .utilnav__phone { display: none; }                  /* 전화는 하단 고정 CTA·독에서 안내 */
    .site-header__inner { gap: 6px; }
    .hsocial { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }

    .hero__lead { padding: 0 var(--gutter); }
    .hero__title { font-size: 27px; line-height: 1.32; margin-bottom: 16px; }
    .hero__subtitle { font-size: 14.5px; margin-bottom: 22px; }
    /* (히어로 빠른상담 버튼은 ≤768px에서 숨김 — 하단 고정 CTA로 대체) */

    /* 메뉴 오버레이 — 모바일 */
    .menu-grid { gap: 10px; }
    .menu-item { height: 62px; padding: 0 16px; font-size: 17px; }
    .menu-item__arrow svg { height: 13px; }
    .menu-overlay__logo { height: 30px; }
    .menu-act { height: 56px; font-size: 15px; }
    .menu-act--tel { flex-basis: 56px; width: 56px; }
}

/* =========================================================
   모바일 하단 고정 CTA (카톡상담 / 네이버예약)
   ========================================================= */
.mcta { display: none; }
@media (max-width: 768px) {
    .mcta {
        display: grid; grid-template-columns: 1fr 1fr;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        box-shadow: 0 -2px 12px rgba(0, 0, 0, .14);
    }
    .mcta__btn {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        padding: 15px 8px; font-size: 15px; font-weight: 700; letter-spacing: -.01em;
    }
    .mcta__btn--kakao { background: #FEE500; color: #2a1c00; }
    .mcta__btn--naver { background: #03C75A; color: #fff; }
    .mcta__ico { width: 20px; height: 20px; display: inline-flex; }
    .mcta__ico img { width: 100%; height: 100%; display: block; }
    .mcta__btn--kakao .mcta__ico img { filter: brightness(0); }   /* 흰 아이콘 → 노란 배경엔 검정 */
    /* 하단 고정 카톡상담·네이버예약이 있으므로 히어로의 빠른상담 버튼은 모바일에서 숨김 */
    .quicklinks { display: none !important; }
    body { padding-bottom: 54px; }

    /* 모바일 최상단 이동 버튼 — 하단 CTA 바로 위 우측 */
    .mtop {
        position: fixed; right: 14px; bottom: 68px; z-index: 41;
        display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
        width: 46px; height: 46px; padding: 0; border-radius: 50%;
        border: 1px solid rgba(20, 48, 94, .10); background: rgba(255, 255, 255, .94);
        -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
        box-shadow: 0 6px 18px rgba(13, 33, 72, .18);
        color: #263d5e; font-family: inherit; font-size: 8.5px; font-weight: 700; letter-spacing: .04em;
        cursor: pointer;
        opacity: 0; visibility: hidden; transform: translateY(8px);
        transition: opacity .3s ease, transform .3s ease, visibility .3s;
    }
    .mtop svg { width: 16px; height: 16px; margin-bottom: -1px; }
    .mtop.is-on { opacity: 1; visibility: visible; transform: none; }
    .mtop:active { transform: scale(.94); }
}
@media (min-width: 769px) { .mtop { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .mtop { transition: none; }
}

/* =========================================================
   사이트 하단 푸터 (site-footer.php) — 전역
   ========================================================= */
.site-footer-b { background: #f1f2f2; border-top: 1px solid #e6e9ee; }
.site-footer-b__inner { max-width: 1100px; margin: 0 auto; padding: 36px 24px 44px; }
.site-footer-b__top {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding-bottom: 22px; border-bottom: 1px solid #e2e6eb; flex-wrap: wrap;
}
.site-footer-b__brand img { height: 38px; width: auto; display: block; }
.site-footer-b__nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer-b__nav a { font-size: 15px; font-weight: 600; color: #4b5563; }
.site-footer-b__nav a:hover { color: var(--brand); }
.site-footer-b__info { margin-top: 20px; }
.site-footer-b__info p { margin: 0 0 8px; font-size: 13.5px; color: #8b96a3; line-height: 1.6; }
.site-footer-b__info strong { color: #4b5563; }
.site-footer-b__info .bar { margin: 0 8px; color: #cbd2da; }
.site-footer-b__copy { font-size: 13px; color: #aab2bc; }

/* =========================================================
   로그인 모달
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.24);   /* #000000 24% */
    opacity: 0; transition: opacity 0.25s;
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__dialog {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -46%);
    width: min(490px, calc(100vw - 32px));
    height: 403.58px;
    max-height: calc(100vh - 32px); overflow-y: auto;
    background: #fff; border-radius: 4px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    opacity: 0; transition: opacity 0.25s, transform 0.25s;
}
.modal.is-open .modal__dialog { opacity: 1; transform: translate(-50%, -50%); }
.modal__dialog--signup { height: auto; }   /* 회원가입은 내용 높이에 맞춤 */
.modal__logo { width: 170px; height: auto; margin-bottom: 7px; }
.modal__title { margin: 0 0 11px; font-size: 21.61px; font-weight: 700; color: #111827; }

.login-form,
.signup-form { display: flex; flex-direction: column; }
.login-form { gap: 10px; }
.signup-form { gap: 15px; }
.field { position: relative; }
.field input {
    width: 100%; height: 62.5px; padding: 0 24px;
    border: 1px solid #333D4B; border-radius: 8px;
    font-size: 16px; font-weight: 400; color: #111827; background: #fff;
    transition: border-color 0.2s;
}
.field input::placeholder { color: #E5E8EB; }
.field input:focus { outline: none; border-color: #333D4B; }
.field label {
    position: absolute; top: -7px; left: 12px;
    padding: 0 6px; background: #fff;
    font-size: 12px; font-weight: 400; color: #333D4B;
}
.login-form__submit {
    height: 47px; margin-top: 0;
    background: #333D4B; color: #fff;          /* 버튼 컬러 */
    border: 0; border-radius: 8px;
    font-size: 18px; font-weight: 600; cursor: pointer;   /* SemiBold 18px */
    transition: background 0.2s;
}
.login-form__submit:hover { background: #29313d; }

.login-form__signup {
    margin: 19.29px 0 0; text-align: center;               /* 버튼과의 간격 */
    font-size: 16px; font-weight: 400; color: #6b7280;     /* Regular 16px */
}
.login-form__signup a { color: #c1907e; }                  /* 동일 조건 + 파란색 */
#signup-modal .login-form__signup { color: #333D4B; }                 /* '계정이 있으신가요?' */
#signup-modal .login-form__signup a { color: #c1907e; text-decoration: underline; }   /* '로그인': 파란색 + 밑줄 */
#login-modal .login-form .field:first-of-type { margin-bottom: 5px; }  /* 아이디↔패스워드 = 폼갭10+5 = 15px */
#login-modal .login-form__submit { height: 42px; }                     /* 403.58px 고정 높이에 맞춰 보정 */
.login-form__privacy {
    display: block; margin-top: 2px; text-align: center;
    font-size: 16px; font-weight: 400; color: #B0B8C1;     /* Regular 16px */
}

/* 비밀번호 표시 토글 */
.field--pw input { padding-right: 52px; }
.field__eye {
    position: absolute; top: 50%; right: 16px; transform: translateY(-50%);
    width: 24px; height: 24px; padding: 0; border: 0;
    background: none; cursor: pointer; color: #B0B8C1;
    display: flex; align-items: center; justify-content: center;
}
.field__eye img { width: 24px; height: 24px; display: block; }
.field__eye .ico-eye { display: none; }
.field__eye.is-visible .ico-eye { display: block; }
.field__eye.is-visible .ico-eye-off { display: none; }

/* 개인정보처리방침 동의 체크박스 */
.signup-agree {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 18px 0; cursor: pointer;   /* 폼 갭 15px + margin 18px = 위·아래 33px */
}
.signup-agree input { position: absolute; opacity: 0; width: 0; height: 0; }
.signup-agree__box {
    width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
    border: 1.5px solid #cbd2da; background: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.15s, border-color 0.15s;
}
.signup-agree__box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.signup-agree input:checked + .signup-agree__box {
    background: #333D4B; border-color: #333D4B;
}
.signup-agree input:checked + .signup-agree__box svg { opacity: 1; }
.signup-agree__text { font-size: 15px; color: #4b5563; }

/* 폼 상태 메시지 */
.form-msg { margin: 0; font-size: 13.5px; line-height: 1.45; white-space: pre-line; text-align: center; }
.form-msg:empty { display: none; }
.form-msg.is-error { color: #e11d48; }
.form-msg.is-success { color: #16a34a; }

@media (max-width: 480px) {
    .modal__dialog { padding: 24px 20px; }
}

/* =========================================================
   PC 우측하단 플로팅 예약/상담 독 (.fdock)
   유리 질감 패널 + 브랜드 아이콘, 호버 시 살짝 떠오름
   모바일(≤768px)은 하단 고정 CTA(.mcta)가 대신하므로 숨김
   ========================================================= */
.fdock {
    position: fixed; right: 16px; bottom: 24px;
    z-index: 45; width: 84px;
    display: flex; flex-direction: column;
    border-radius: 14px; overflow: hidden;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    backdrop-filter: blur(14px) saturate(1.2);
    box-shadow: 0 18px 48px rgba(13, 33, 72, .18), 0 2px 6px rgba(13, 33, 72, .08);
    border: 1px solid rgba(255, 255, 255, .7);
    /* 기본값은 '보이는' 상태 — 애니메이션이 안 돌아도 항상 노출됨 */
    opacity: 1;
    animation: fdockIn .7s cubic-bezier(.2, .7, .2, 1);
}
@keyframes fdockIn {
    from { opacity: 0; transform: translateX(16px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* 상단 전화 안내 */
.fdock__head {
    padding: 12px 8px 11px; text-align: center;
    background: linear-gradient(160deg, #263d5e 0%, #1b2a3d 100%); color: #fff;
}
.fdock__head-k {
    display: block; font-size: 10px; font-weight: 600; letter-spacing: .02em;
    color: rgba(255, 255, 255, .68); margin-bottom: 3px;
}
.fdock__tel { display: block; font-size: 12px; font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1.35; }
.fdock__tel:hover { color: #d6ab9c; }

/* 버튼 */
.fdock__btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    padding: 12px 6px; text-align: center;
    border-top: 1px solid rgba(20, 48, 94, .08);
    color: #1f2937; transition: background .25s ease, transform .25s ease;
}
.fdock__btn:hover { background: rgba(20, 48, 94, .045); }
.fdock__ico {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .3s cubic-bezier(.34, 1.5, .5, 1), box-shadow .3s ease;
}
.fdock__ico img, .fdock__ico svg { width: 17px; height: 17px; display: block; }
.fdock__btn:hover .fdock__ico { transform: translateY(-3px) scale(1.06); }
.fdock__btn--naver .fdock__ico { background: #03c75a; box-shadow: 0 6px 16px rgba(3, 199, 90, .32); }
.fdock__btn--kakao .fdock__ico { background: #fee500; box-shadow: 0 6px 16px rgba(254, 229, 0, .38); }
.fdock__btn--kakao .fdock__ico img { filter: brightness(0); }   /* 흰 아이콘 → 노란 배경엔 검정 */
.fdock__label { font-size: 11px; font-weight: 700; letter-spacing: -.04em; line-height: 1.3; }

/* TOP */
.fdock__top {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 9px 6px 11px; border: 0; border-top: 1px solid rgba(20, 48, 94, .08);
    background: none; cursor: pointer; font-family: inherit;
    color: #8b96a3; font-size: 10.5px; font-weight: 700; letter-spacing: .03em;
    transition: color .2s ease, background .2s ease;
}
.fdock__top svg { width: 14px; height: 14px; }
.fdock__top:hover { color: #263d5e; background: rgba(20, 48, 94, .045); }

@media (max-width: 1180px) { .fdock { right: 10px; width: 76px; } }
@media (max-width: 768px)  { .fdock { display: none; } }
@media (prefers-reduced-motion: reduce) {
    .fdock { animation: none; opacity: 1; transform: translateY(-50%); }
    .fdock__btn, .fdock__ico { transition: none; }
}

/* ---------- 페이지 전환 베일 (홈 ↔ 상세) ---------- */
.nav-veil {
    position: fixed; inset: 0; z-index: 9999; pointer-events: none;
    background: linear-gradient(180deg, #263d5e 0%, #1b2a3d 100%);
    opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
    .nav-veil { display: none; }
}

/* =========================================================
   오픈 팝업 (어드민 등록 · 홈 첫 진입)
   ========================================================= */
.opop { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 20px; }
.opop[hidden] { display: none; }
.opop__dim { position: absolute; inset: 0; background: rgba(6, 14, 32, .62); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.opop__panel {
    position: relative; z-index: 1;
    width: min(440px, 100%); max-height: calc(100dvh - 40px);
    display: flex; flex-direction: column;
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 30px 80px rgba(6, 14, 32, .40);
    animation: opopIn .45s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes opopIn { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.opop__x {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 34px; height: 34px; border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(0, 0, 0, .34); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease;
}
.opop__x:hover { background: rgba(0, 0, 0, .55); }
.opop__x svg { width: 17px; height: 17px; }
.opop__slides { flex: 1 1 auto; min-height: 0; overflow: hidden; }
.opop__slide { display: none; }
.opop__slide.is-active { display: block; }
.opop__slide img { width: 100%; height: auto; display: block; }
.opop__tabs { display: flex; border-top: 1px solid #e6e9ee; overflow-x: auto; }
.opop__tab {
    flex: 1 0 auto; padding: 12px 14px; border: 0; border-right: 1px solid #e6e9ee;
    background: #fff; color: #6b7280; font-family: inherit; font-size: 13px; font-weight: 600;
    letter-spacing: -.03em; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s;
}
.opop__tab:last-child { border-right: 0; }
.opop__tab.is-active { background: var(--brand, #263d5e); color: #fff; }
.opop__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 11px 14px; background: #f4f6f8; border-top: 1px solid #e6e9ee;
    font-size: 13px; color: #6b7280;
}
.opop__today { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; letter-spacing: -.03em; }
.opop__close {
    border: 0; background: none; color: #4e5968; font-family: inherit;
    font-size: 13px; font-weight: 700; cursor: pointer; padding: 4px 2px;
}
.opop__close:hover { color: #263d5e; }
@media (max-width: 480px) { .opop { padding: 14px; } .opop__panel { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .opop__panel { animation: none; } }

/* ---------- 홈페이지 준비중 임시 랜딩 이미지 ---------- */
.landing-placeholder {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    justify-content: center;
    background: var(--ink);
}
.landing-placeholder__img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
}

/* =========================================================
   전체 메뉴 — 데스크톱에서는 우측 40% 패널로 (회신 문서 요청)
   모바일은 폭이 좁아 40% 가 무의미하므로 기존 전체화면 유지.
   ========================================================= */
@media (min-width: 1025px) {
    .menu-overlay {
        background: rgba(10, 22, 48, .38);
        -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    }
    .menu-overlay__inner {
        margin: 0 0 0 auto;
        width: 40%; min-width: 440px; max-width: 620px;
        min-height: 100%;
        background: #101c2c;
        box-shadow: -34px 0 70px rgba(6, 14, 32, .42);
        transform: translateX(48px);
        opacity: 0;
        transition: transform .55s cubic-bezier(.16, 1, .3, 1), opacity .4s ease;
    }
    .menu-overlay.is-open .menu-overlay__inner { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .menu-overlay__inner { transition: none; transform: none; }
}

/* =========================================================
   UI 시안(0828) 반영 — 헤더 · 드로어 · 푸터
   ========================================================= */

/* 햄버거 — 세 줄 굵기 동일 */
.hamburger--header span { height: 2px; }

/* 전체 메뉴 드로어 */
.menu-overlay__inner { background: #0d1b2e; }
.menu-item { color: #fff; font-weight: 400; }
.menu-item:hover, .menu-item:focus-visible { color: #d6ac9d; }
.menu-item:hover .menu-item__arrow { color: #d6ac9d; }
.menu-section { color: #bcbec0; }
@media (min-width: 1025px) {
    .menu-overlay__inner { background: #0d1b2e; }
}

/* =========================================================
   로고 — 정식 브랜드 파일 사용 (260903)
   라이트 배경: 2톤 브랜드 로고 / 어두운 배경: 흰색 로고
   ========================================================= */
.brand__img--brand { position: relative; opacity: 1; }
.brand__img--light { position: absolute; inset: 0; opacity: 0; }
.brand__img--dark  { display: none; }

/* 260904 — 상단 바가 항상 밝게 시작하므로 기본 로고를 그대로 쓴다.
   다크 페이지의 스크롤 상태(어두운 바)에서도 시안대로 '기본 로고' 유지. */


/* =========================================================
   상단 바 — SNS 아이콘은 PC 에서 스크롤했을 때만 노출 (260904)
   ========================================================= */
@media (min-width: 1025px) {
    .site-header.is-scrolled .hsocial {
        display: inline-flex; align-items: center; gap: 8px;
    }
}

/* ============================================================
   인터랙션 — 누르는 감각과 화면 전환
   ------------------------------------------------------------
   기존에는 :active 상태가 사실상 없어서, 눌러도 화면이 바뀔 때까지
   아무 반응이 없었다. 응답이 빨라도 "딱딱하다"고 느껴지는 이유다.
   손가락/커서가 닿는 순간 즉시 반응을 주고, 페이지 전환은
   흰 화면 깜빡임 대신 부드럽게 넘긴다.
   ============================================================ */

/* 모바일에서 탭할 때 브라우저가 씌우는 회색 사각형을 없애고
   아래의 우리 반응으로 대체한다 */
a, button, [role="button"], [type="submit"], [type="button"], label, summary {
    -webkit-tap-highlight-color: transparent;
}

/* 눌림 — 살짝 가라앉는 느낌.
   inline 요소는 transform 이 먹지 않으므로 블록성 요소만 대상으로 한다. */
.mcta__btn, .fdock__btn, .hmap__btn, .hsocial__btn,
.menu-item, .story-card, .faq__q,
.page-nav__current, .page-nav__menu-link,
.utilnav__link, .utilnav__phone,
button, [type="submit"], [type="button"] {
    transition: transform .12s cubic-bezier(.2, .8, .3, 1),
                box-shadow .18s ease,
                background-color .18s ease,
                opacity .18s ease;
}

.mcta__btn:active, .fdock__btn:active, .hmap__btn:active, .hsocial__btn:active,
.menu-item:active, .story-card:active, .faq__q:active,
.page-nav__current:active, .page-nav__menu-link:active,
.utilnav__link:active, .utilnav__phone:active,
button:active, [type="submit"]:active, [type="button"]:active {
    transform: scale(.976);
}

/* 카드처럼 큰 면적은 조금 덜 눌리게 — 과하면 흔들려 보인다 */
.story-card:active, .menu-item:active {
    transform: scale(.99);
}

/* 클릭 후 이동을 기다리는 동안: 링크를 살짝 흐리게 해서
   "받았다"는 신호를 준다. main.js 가 클래스를 붙인다. */
.is-navigating {
    opacity: .62;
    transition: opacity .2s ease;
}

/* ---- 페이지 전환 ----
   같은 문서 안이 아니라 페이지를 옮길 때도 부드럽게 교차되도록 한다.
   미지원 브라우저는 이 규칙을 무시하고 기존처럼 즉시 전환된다. */
@view-transition { navigation: auto; }

/* 옛 화면을 먼저 지우면 새 화면이 다 들어오기 전까지 배경색이 드러난다.
   옛 화면은 그대로 두고 새 화면을 그 위에 덮어 빈틈을 없앤다. */
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: iron-fade-in .22s ease both; }

@keyframes iron-fade-in { from { opacity: 0; } }

/* 헤더는 페이지가 바뀌어도 그대로 있는 요소라 같이 페이드되면 어색하다.
   전환에서 분리해 제자리에 고정한다. */
.site-header { view-transition-name: iron-header; }
::view-transition-old(iron-header),
::view-transition-new(iron-header) { animation: none; }

/* 움직임을 줄여달라고 설정한 사용자에게는 전부 끈다 */
@media (prefers-reduced-motion: reduce) {
    @view-transition { navigation: none; }
    .mcta__btn, .fdock__btn, .hmap__btn, .hsocial__btn,
    .menu-item, .story-card, .faq__q,
    .page-nav__current, .page-nav__menu-link,
    .utilnav__link, .utilnav__phone,
    button, [type="submit"], [type="button"] {
        transition: none;
    }
    .mcta__btn:active, .fdock__btn:active, .hmap__btn:active, .hsocial__btn:active,
    .menu-item:active, .story-card:active, .faq__q:active,
    .page-nav__current:active, .page-nav__menu-link:active,
    .utilnav__link:active, .utilnav__phone:active,
    button:active, [type="submit"]:active, [type="button"]:active {
        transform: none;
    }
}

/* =========================================================
   PC 헤더 — 시안 0910 p7 / p8
   시안의 PC 헤더는 로고 + 전화 + 햄버거 셋뿐이다. 지금은 그 자리에
   GNB 텍스트 메뉴가 펼쳐져 있어 시안과 구성이 다르다. 모바일과
   같은 문법으로 맞춘다.

   메뉴 링크는 사라지지 않는다 — 드로어(#drawer)가 항상 DOM 에 있고
   그 안에 전체 메뉴가 그대로 들어 있다. 바뀌는 건 PC 에서 메뉴를
   펼쳐 두느냐 햄버거로 접느냐뿐이다.
   ========================================================= */
@media (min-width: 1025px) {
    .gnb { display: none; }
    .hamburger--header,
    .site-header--sub .hamburger--header {
        display: inline-flex; order: 9; margin-left: 14px; flex: 0 0 auto;
    }
    /* GNB 가 margin-right:auto 로 밀어내던 역할을 로고가 대신한다 */
    .brand { margin-right: auto; }
}


/* =========================================================
   헤더 전화 — PC 는 수화기 아이콘만, 햄버거 바로 왼쪽
   ---------------------------------------------------------
   그 아래 폭에서는 지금까지처럼 번호를 글자로 보여 준다.
   ========================================================= */
.utilnav__phone { display: inline-flex; align-items: center; }
.utilnav__phone-ico { display: none; }
@media (min-width: 1025px) {
    .utilnav__phone {
        order: 8;                       /* 햄버거(order:9) 바로 앞 */
        margin-left: auto;              /* 로고와의 사이를 벌린다 */
        width: 38px; height: 38px; padding: 0;
        align-items: center; justify-content: center;
        border-radius: 50%;
        transition: background-color .25s ease, transform .25s ease;
    }
    .utilnav__phone:hover { background: rgba(17, 24, 39, .06); transform: translateY(-1px); }
    .utilnav__phone-num { display: none; }
    .utilnav__phone-ico { display: inline-flex; }
    .utilnav__phone-ico svg { width: 21px; height: 21px; display: block; }
    /* 브랜드가 margin-right:auto 로 밀어내고 있으니 여기서는 필요 없다 */
    .brand { margin-right: auto; }
    .utilnav__phone { margin-left: 0; }
}


/* =========================================================
   모바일 헤더 — 햄버거(왼쪽 끝) + 로고(오른쪽 끝)
   ---------------------------------------------------------
   전화번호는 빼고 둘만 남긴다 (요청 260911).
   ========================================================= */
@media (max-width: 1024px) {
    .site-header__inner { justify-content: space-between; }
    .utilnav__phone { display: none !important; }
    .site-header .hamburger--header,
    .site-header--sub .hamburger--header {
        display: inline-flex !important;
        order: 2; margin-left: auto; margin-right: 0;
    }
    .brand { order: 1; margin-left: 0; margin-right: auto; }
}
