:root{
    --site_width:1440px;
    --color_primary:#d4b886;
    --color_secondary:#19470b15;
    --header_height:60px;
  --bg:#ffffff;
  --bg_soft:#CDC6BE;
  --line:#e8efe8;
  --txt:#0f172a;
  --muted:#64748b;
  --radius:16px;
  --shadow: 0 8px 22px rgba(2,6,23,.06);
  --shadow2: 0 10px 28px rgba(2,6,23,.08);
}

:root{
  --ap-bg: #0b1020;
  --ap-surface: rgba(255,255,255,.06);
  --ap-surface-2: rgba(255,255,255,.09);
  --ap-border: rgba(255,255,255,.12);

  --ap-text: rgba(255,255,255,.92);
  --ap-muted: rgba(255,255,255,.68);
  --ap-dim: rgba(255,255,255,.55);

  /* Light theme colors */
  --ap-light-bg: #ffffff;
  --ap-light-text: #1a1a1a;
  --ap-light-muted: #666666;
  --ap-light-dim: #888888;
  --ap-light-surface: #f8f9fa;
  --ap-light-border: #e0e0e0;

  /* Warm gray palette */
  --ap-brand: #7f7368;   /* warm gray */
  --ap-brand2: #b6aa9f;  /* warm light */
  --ap-danger: #9a6b62;  /* muted terracotta */
  --ap-ok: #3ee6b5;
  --ap-warn: #ffcc66;

  --ap-shadow: 0 16px 60px rgba(0,0,0,.45);
  --ap-shadow-2: 0 10px 30px rgba(0,0,0,.32);
  --ap-shadow-light: 0 8px 30px rgba(0,0,0,.08);
  --ap-shadow-light-2: 0 4px 20px rgba(0,0,0,.06);
  --ap-r: 18px;
}

*,*::before,*::after{box-sizing:border-box;}
html,body{margin:0;padding:0;}
body{font-family:"Pretendard Variable",Pretendard,-apple-system,BlinkMacSystemFont,system-ui,Roboto,"Helvetica Neue","Segoe UI","Apple SD Gothic Neo","Noto Sans KR","Malgun Gothic","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",sans-serif;color:#111;line-height:1.5;word-break:keep-all;}

/* ════════════════════════════════════════════
   LW (Law Office) — index2.php
════════════════════════════════════════════ */

/* ── Hero ── */
.lw-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.lw-hero__swiper {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}
.lw-hero__swiper .swiper-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.lw-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1;
}

/* ── NAV ── */
.lw-nav {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 72px;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    color: #333;
}
.lw-nav__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
}
.lw-nav__logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.lw-nav__logo-img {
    height: 36px;
    width: auto;
    display: block;
}
.lw-nav__logo-text {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    white-space: nowrap;
}
.lw-nav__menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 64px;
    list-style: none;
}
.lw-nav__menu a {
    display: block;
    padding: 6px 0;
    font-size: 17px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: -.01em;
    position: relative;
}
.lw-nav__menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    right: 50%;
    height: 2px;
    background: #333;
    transition: left .24s ease, right .24s ease;
}
.lw-nav__menu a:hover {
    color: #000;
}
.lw-nav__menu a:hover::after {
    left: 0;
    right: 0;
}
.lw-nav__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lw-nav__signup {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    /* border: 1px solid rgba(255, 255, 255, .7); */
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #191919;
    text-decoration: none;
    transition: background .18s, border-color .18s;
    white-space: nowrap;
}
.lw-nav__signup:hover {
    background: rgba(255, 255, 255, .18);
    border-color: #fff;
}
.lw-nav__kakao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #FEE500;
    text-decoration: none;
    transition: opacity .18s;
    flex-shrink: 0;
}
.lw-nav__kakao:hover { opacity: .85; }
.lw-nav__kakao svg { display: block; }

/* ── Hero copy ── */
.lw-hero__copy {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 80px 60px 0;
    color: #fff;
    width: 100%;
    max-width: 1320px;
    left: 50%;
    transform: translateX(-50%);
}
.lw-hero__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1 1 auto;
}
.lw-hero__label {
    display: inline-block;
    margin-bottom: 4px;
    padding: 4px 14px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255,255,255,.85);
    text-transform: uppercase;
}
.lw-hero__title {
    font-size: clamp(30px, 4.2vw, 54px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.03em;
    margin-bottom: 20px;
    word-break: keep-all;
}
.lw-hero__title em {
    font-style: normal;
    color: #FEE500;
}
.lw-hero__desc {
    font-size: clamp(14px, 1.4vw, 16px);
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255,255,255,.8);
    max-width: 480px;
    word-break: keep-all;
    margin-bottom: 36px;
}
.lw-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 32px;
    background: #FEE500;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    color: #191919;
    text-decoration: none;
    transition: opacity .18s, transform .18s;
}
.lw-hero__cta:hover { opacity: .9; transform: translateY(-2px); }

/* ── Quick contact panel ── */
.lw-hero__contact {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 260px;
}
.lw-hero__contact-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    margin-bottom: 4px;
}
.lw-contact-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform .18s, opacity .18s;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
}
.lw-contact-btn:hover { transform: translateX(4px); opacity: .92; }
.lw-contact-btn--web  { background: rgba(255,255,255,.15); }
.lw-contact-btn--kakao { background: rgba(254,229,0,.18); }
.lw-contact-btn--tel  { background: rgba(255,255,255,.1); }
.lw-contact-btn__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.lw-contact-btn--web  .lw-contact-btn__icon { background: rgba(255,255,255,.2); }
.lw-contact-btn--kakao .lw-contact-btn__icon { background: #FEE500; }
.lw-contact-btn--tel  .lw-contact-btn__icon { background: rgba(255,255,255,.15); }
.lw-contact-btn__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lw-contact-btn__name {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.lw-contact-btn__sub {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,.6);
    line-height: 1;
}

/* ── LW Responsive ── */
@media (max-width: 960px) {
    .lw-nav { padding: 0 20px; }
    .lw-nav__menu { display: none; }
    .lw-nav__logo-text { font-size: 15px; }
    .lw-hero__copy { padding: 80px 24px 0; gap: 24px; }
    .lw-hero__contact { width: 220px; }
}
@media (max-width: 680px) {
    .lw-nav__signup { display: none; }
    .lw-hero__copy { flex-direction: column; align-items: flex-start; justify-content: center; padding: 80px 24px 0; }
    .lw-hero__contact { width: 100%; }
}
a{color:inherit;text-decoration:none;}
a:hover,a:focus,a:active{text-decoration:none;}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--color_primary);outline-offset:2px;}
ul,ol{margin:0;padding:0;list-style:none;}
img{vertical-align:middle;border:0;max-width:100%;height:auto;}
button{background:none;border:0;cursor:pointer;font:inherit;color:inherit;}
table{border-collapse:collapse;border-spacing:0;}
input,textarea,select{font-family:inherit;}
::placeholder{color:#abb4bd;opacity:1;}::-webkit-input-placeholder{color:#abb4bd;}:-ms-input-placeholder{color:#abb4bd;}
i{font-style:normal;}
