/* ═══════════════════════════════════════════════
   교통사고처리지원센터 — Premium Design System
   20-Year Senior Frontend Craftsmanship
   ═══════════════════════════════════════════════ */

/* ── Tokens ── */
:root {
   --navy: #0a1628;
   --navy2: #0f2140;
   --navy3: #162d50;
   --gold: #c9a96e;
   --gold-light: #e4d5b7;
   --gold-dark: #a8884e;
   --cream: #f5f0e8;
   --cream2: #ebe3d5;
   --bg: #fafaf7;
   --white: #fff;
   --txt: #1a1a2e;
   --txt2: #4a4a5a;
   --txt3: #8a8a9a;
   --border: rgba(0, 0, 0, .08);
   --serif: 'Noto Serif KR', 'Cormorant Garamond', Georgia, serif;
   --sans: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
   --display: 'Cormorant Garamond', 'Noto Serif KR', serif;
   --ease: cubic-bezier(.4, 0, .2, 1);
   --ease-out: cubic-bezier(0, .55, .45, 1);
   --shadow-s: 0 1px 3px rgba(0, 0, 0, .06);
   --shadow-m: 0 8px 30px rgba(0, 0, 0, .08);
   --shadow-l: 0 20px 60px rgba(0, 0, 0, .12);
   --r: 8px;
   --r2: 16px;
   --r3: 24px;
}

/* ── Reset ── */
*,
*::before,
*::after {
   margin: 0;
   padding: 0;
   box-sizing: border-box
}

html {
   scroll-behavior: smooth;
   scroll-padding-top: 90px;
   -webkit-text-size-adjust: 100%
}

body {
   font-family: var(--sans);
   font-size: 16px;
   line-height: 1.8;
   color: var(--txt2);
   background: var(--bg);
   -webkit-font-smoothing: antialiased;
   overflow-x: hidden
}

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

a {
   text-decoration: none;
   color: inherit;
   transition: .35s var(--ease)
}

ul {
   list-style: none
}

button {
   font-family: inherit;
   cursor: pointer
}

strong {
   font-weight: 600;
   color: var(--txt)
}

em {
   font-style: normal;
   color: var(--gold-dark)
}

.wrap {
   max-width: 1200px;
   margin: 0 auto;
   padding: 0 clamp(20px, 4vw, 40px)
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
   font-family: var(--serif);
   font-weight: 500;
   color: var(--txt);
   line-height: 1.35
}

.sec-title {
   font-size: clamp(1.6rem, 3.2vw, 2.6rem);
   margin-bottom: clamp(20px, 3vw, 40px)
}

.sec-title.light {
   color: var(--white)
}

.sec-title em {
   color: var(--gold)
}

.label-sm {
   display: inline-block;
   font-family: var(--display);
   font-size: .85rem;
   font-weight: 500;
   letter-spacing: .15em;
   text-transform: uppercase;
   color: var(--gold);
   margin-bottom: 12px
}

.label-sm.light {
   color: var(--gold-light)
}

.link-arrow {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   font-size: .9rem;
   font-weight: 500;
   color: var(--gold-dark);
   border-bottom: 1px solid transparent;
   padding-bottom: 2px;
   transition: .35s var(--ease)
}

.link-arrow:hover {
   border-bottom-color: var(--gold-dark)
}

.link-arrow::after {
   content: '→';
   transition: transform .35s var(--ease)
}

.link-arrow:hover::after {
   transform: translateX(4px)
}

/* ── Buttons ── */
.btn-gold {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 14px 36px;
   background: var(--gold);
   color: var(--navy);
   font-family: var(--serif);
   font-size: .95rem;
   font-weight: 600;
   letter-spacing: .03em;
   border: none;
   border-radius: 0;
   transition: .4s var(--ease)
}

.btn-gold:hover {
   background: var(--gold-dark);
   color: #fff;
   transform: translateY(-2px);
   box-shadow: 0 8px 25px rgba(201, 169, 110, .35)
}

.btn-gold.lg {
   padding: 18px 48px;
   font-size: 1.1rem
}

.btn-ghost {
   display: inline-flex;
   align-items: center;
   justify-content: center;
   padding: 14px 36px;
   background: transparent;
   color: var(--white);
   font-family: var(--serif);
   font-size: .95rem;
   font-weight: 500;
   letter-spacing: .03em;
   border: 1px solid rgba(255, 255, 255, .3);
   border-radius: 0;
   transition: .4s var(--ease)
}

.btn-ghost:hover {
   background: rgba(255, 255, 255, .08);
   border-color: rgba(255, 255, 255, .6)
}

.center-cta {
   text-align: center;
   margin-top: clamp(32px, 4vw, 56px)
}

/* ── Preloader ── */
.preloader {
   position: fixed;
   inset: 0;
   z-index: 10000;
   background: var(--navy);
   display: flex;
   align-items: center;
   justify-content: center;
   transition: opacity .6s var(--ease), visibility .6s
}

.preloader.done {
   opacity: 0;
   visibility: hidden;
   pointer-events: none
}

.preloader-inner {
   text-align: center
}

.preloader-logo {
   width: 80px;
   margin: 0 auto 20px;
   opacity: .85;
   animation: pulse-logo 1.8s infinite
}

@keyframes pulse-logo {

   0%,
   100% {
      opacity: .5;
      transform: scale(.96)
   }

   50% {
      opacity: 1;
      transform: scale(1)
   }
}

.preloader-bar {
   width: 120px;
   height: 2px;
   background: rgba(255, 255, 255, .1);
   border-radius: 2px;
   overflow: hidden
}

.preloader-fill {
   width: 0;
   height: 100%;
   background: var(--gold);
   animation: fill-bar 1.6s var(--ease-out) forwards
}

@keyframes fill-bar {
   to {
      width: 100%
   }
}

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.gnb {
   position: fixed;
   top: 0;
   left: 0;
   right: 0;
   z-index: 1000;
   padding: 0 clamp(20px, 4vw, 40px);
   transition: background .5s, backdrop-filter .5s, box-shadow .5s
}

.gnb.scrolled {
   background: rgba(10, 22, 40, .92);
   backdrop-filter: blur(16px);
   box-shadow: 0 1px 0 rgba(255, 255, 255, .05)
}

.gnb-inner {
   max-width: 1200px;
   margin: 0 auto;
   display: flex;
   align-items: center;
   justify-content: space-between;
   height: 72px
}

.gnb-logo {
   display: flex;
   align-items: center;
   gap: 12px;
   opacity: 1;
   transition: .35s var(--ease)
}

.gnb-logo:hover {
   opacity: .8
}

.gnb-logo-img {
   width: 75px;
   height: 75px;
   object-fit: contain
}

.gnb-logo-text-img {
   width: 300px;
   height: 50px;
   object-fit: contain;
   margin-top: 1px
}

.gnb-menu {
   display: flex;
   gap: 6px
}

.gnb-menu a {
   display: block;
   padding: 8px 16px;
   font-size: .88rem;
   font-weight: 400;
   color: rgba(255, 255, 255, .65);
   letter-spacing: .02em;
   transition: .35s
}

.gnb-menu a:hover {
   color: var(--gold)
}

.gnb-cta {
   padding: 10px 24px;
   font-family: var(--serif);
   font-size: .85rem;
   font-weight: 500;
   color: var(--gold);
   border: 1px solid rgba(201, 169, 110, .35);
   letter-spacing: .05em;
   transition: .35s var(--ease)
}

.gnb-cta:hover {
   background: var(--gold);
   color: var(--navy)
}

.gnb-toggle {
   display: none;
   background: none;
   border: none;
   width: 28px;
   height: 20px;
   position: relative;
   flex-direction: column;
   justify-content: space-between
}

.gnb-toggle span {
   display: block;
   width: 100%;
   height: 1.5px;
   background: var(--white);
   transition: .35s var(--ease)
}

/* ═══════════════════════════════════════
   HERO
   ═══════════════════════════════════════ */
.hero {
   position: relative;
   height: 100vh;
   min-height: 700px;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden
}

.hero-media {
   position: absolute;
   inset: 0
}

.hero-bg-img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transform: scale(1.05);
   animation: hero-zoom 20s var(--ease) infinite alternate
}

@keyframes hero-zoom {
   0% {
      transform: scale(1.05)
   }

   100% {
      transform: scale(1.12)
   }
}

.hero-overlay {
   position: absolute;
   inset: 0;
   background: linear-gradient(to bottom, rgba(10, 22, 40, .7) 0%, rgba(10, 22, 40, .55) 40%, rgba(10, 22, 40, .8) 100%)
}

.hero-content {
   position: relative;
   z-index: 2;
   text-align: center;
   max-width: 800px;
   padding: 0 24px
}

.hero-eyebrow {
   font-family: var(--display);
   font-size: clamp(.8rem, 1.2vw, 1rem);
   letter-spacing: .25em;
   text-transform: uppercase;
   color: var(--gold-light);
   margin-bottom: clamp(16px, 3vw, 28px);
   opacity: 0;
   animation: fadeUp .8s var(--ease) .6s forwards
}

.hero-title {
   font-family: var(--serif);
   font-size: clamp(2rem, 5vw, 3.8rem);
   font-weight: 300;
   color: var(--white);
   line-height: 1.25;
   margin-bottom: clamp(16px, 2.5vw, 28px)
}

.morph-line {
   display: block;
   opacity: 0;
   animation: fadeUp .8s var(--ease) .9s forwards
}

.morph-line.gold {
   color: var(--gold);
   font-weight: 500;
   animation-delay: 1.2s
}

.hero-desc {
   font-size: clamp(.9rem, 1.3vw, 1.1rem);
   color: rgba(255, 255, 255, .7);
   line-height: 1.9;
   margin-bottom: clamp(24px, 4vw, 40px);
   opacity: 0;
   animation: fadeUp .8s var(--ease) 1.5s forwards
}

.hero-actions {
   display: flex;
   gap: 16px;
   justify-content: center;
   flex-wrap: wrap;
   margin-bottom: clamp(40px, 6vw, 72px);
   opacity: 0;
   animation: fadeUp .8s var(--ease) 1.8s forwards
}

.hero-trust {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: clamp(20px, 4vw, 48px);
   opacity: 0;
   animation: fadeUp .8s var(--ease) 2.1s forwards
}

.trust-item {
   text-align: center
}

.trust-num {
   font-family: var(--display);
   font-size: clamp(1.8rem, 3.5vw, 2.8rem);
   font-weight: 300;
   color: var(--gold);
   display: block;
   line-height: 1.2
}

.trust-label {
   font-size: .75rem;
   color: rgba(255, 255, 255, .5);
   letter-spacing: .08em;
   text-transform: uppercase
}

.trust-divider {
   width: 1px;
   height: 40px;
   background: rgba(255, 255, 255, .15)
}

.hero-scroll {
   position: absolute;
   bottom: 32px;
   left: 50%;
   transform: translateX(-50%);
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 8px;
   opacity: 0;
   animation: fadeUp .8s var(--ease) 2.4s forwards
}

.hero-scroll span {
   font-family: var(--display);
   font-size: .7rem;
   letter-spacing: .2em;
   text-transform: uppercase;
   color: rgba(255, 255, 255, .4)
}

.scroll-line {
   width: 1px;
   height: 40px;
   background: linear-gradient(to bottom, var(--gold), transparent);
   animation: scroll-anim 2s infinite
}

@keyframes scroll-anim {
   0% {
      opacity: 1;
      transform: scaleY(1)
   }

   100% {
      opacity: 0;
      transform: scaleY(0);
      transform-origin: bottom
   }
}

@keyframes fadeUp {
   from {
      opacity: 0;
      transform: translateY(24px)
   }

   to {
      opacity: 1;
      transform: translateY(0)
   }
}

/* ═══════════════════════════════════════
   INTRO
   ═══════════════════════════════════════ */
.intro {
   padding: clamp(80px, 10vw, 140px) 0;
   background: var(--white)
}

.intro-grid {
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: clamp(40px, 6vw, 80px);
   align-items: start
}

.intro-right p {
   margin-bottom: 16px;
   font-size: .95rem
}

/* ═══════════════════════════════════════
   SERVICES PREVIEW
   ═══════════════════════════════════════ */
.services-preview {
   position: relative;
   padding: clamp(80px, 10vw, 140px) 0;
   overflow: hidden
}

.services-img-wrap {
   position: absolute;
   inset: 0
}

.services-bg-img {
   width: 100%;
   height: 100%;
   object-fit: cover
}

.services-img-overlay {
   position: absolute;
   inset: 0;
   background: rgba(10, 22, 40, .88)
}

.services-preview .wrap {
   position: relative;
   z-index: 2
}

.svc-grid {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 24px;
   margin-top: clamp(32px, 4vw, 48px)
}

.svc-card {
   display: block;
   padding: clamp(28px, 3vw, 40px);
   background: rgba(255, 255, 255, .04);
   border: 1px solid rgba(255, 255, 255, .06);
   transition: .5s var(--ease);
   position: relative;
   overflow: hidden
}

.svc-card::before {
   content: '';
   position: absolute;
   bottom: 0;
   left: 0;
   width: 0;
   height: 2px;
   background: var(--gold);
   transition: width .5s var(--ease)
}

.svc-card:hover {
   background: rgba(255, 255, 255, .08);
   transform: translateY(-4px)
}

.svc-card:hover::before {
   width: 100%
}

.svc-num {
   font-family: var(--display);
   font-size: 2.5rem;
   font-weight: 300;
   color: rgba(201, 169, 110, .25);
   line-height: 1;
   display: block;
   margin-bottom: 16px
}

.svc-card h3 {
   font-family: var(--serif);
   font-size: 1.15rem;
   color: var(--white);
   font-weight: 500;
   margin-bottom: 10px
}

.svc-card p {
   font-size: .88rem;
   color: rgba(255, 255, 255, .55);
   line-height: 1.7
}

/* ═══════════════════════════════════════
   CASES PREVIEW
   ═══════════════════════════════════════ */
.cases-preview {
   padding: clamp(80px, 10vw, 140px) 0;
   background: var(--white)
}

.case-slider {
   position: relative;
   overflow: hidden;
   margin-top: clamp(28px, 4vw, 48px)
}

.case-slide {
   display: none;
   padding: clamp(28px, 4vw, 48px);
   border: 1px solid var(--border);
   background: var(--bg);
   transition: .5s
}

.case-slide.active {
   display: block;
   animation: slideFade .5s var(--ease)
}

@keyframes slideFade {
   from {
      opacity: 0;
      transform: translateX(20px)
   }

   to {
      opacity: 1;
      transform: translateX(0)
   }
}

.case-tag {
   display: inline-block;
   padding: 4px 14px;
   font-size: .75rem;
   font-weight: 600;
   letter-spacing: .05em;
   background: var(--cream);
   color: var(--gold-dark);
   margin-bottom: 16px
}

.case-slide h3 {
   font-family: var(--serif);
   font-size: clamp(1.1rem, 2vw, 1.5rem);
   margin-bottom: 16px
}

.case-slide p {
   font-size: .92rem;
   line-height: 1.85;
   margin-bottom: 20px
}

.case-results {
   display: flex;
   flex-wrap: wrap;
   gap: 8px
}

.case-results span {
   padding: 6px 16px;
   font-size: .8rem;
   font-weight: 500;
   color: var(--gold-dark);
   background: var(--cream);
   letter-spacing: .02em
}

.slider-controls {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 20px;
   margin-top: 32px
}

.sl-btn {
   width: 44px;
   height: 44px;
   border: 1px solid var(--border);
   background: var(--white);
   font-size: 1rem;
   color: var(--txt3);
   display: flex;
   align-items: center;
   justify-content: center;
   transition: .35s var(--ease)
}

.sl-btn:hover {
   background: var(--navy);
   color: var(--white);
   border-color: var(--navy)
}

.sl-progress {
   width: 120px;
   height: 2px;
   background: var(--cream2);
   position: relative;
   border-radius: 1px
}

.sl-fill {
   position: absolute;
   top: 0;
   left: 0;
   height: 100%;
   background: var(--gold);
   border-radius: 1px;
   transition: width .4s var(--ease)
}

/* ═══════════════════════════════════════
   DIRECTOR
   ═══════════════════════════════════════ */
.director-sec {
   display: grid;
   grid-template-columns: 1fr 1fr;
   min-height: 600px
}

.director-img-col {
   background: var(--cream);
   display: flex;
   align-items: center;
   justify-content: center;
   padding: 40px;
   overflow: visible
}

.director-photo {
   width: 100%;
   max-width: 420px;
   height: auto;
   object-fit: contain;
   filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .1))
}

.director-info-col {
   padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px);
   display: flex;
   flex-direction: column;
   justify-content: center
}

.director-role {
   font-size: .9rem;
   color: var(--txt3);
   margin-bottom: 20px
}

.director-quote {
   font-family: var(--serif);
   font-size: 1.05rem;
   font-style: italic;
   color: var(--txt);
   line-height: 1.8;
   padding: 24px 0;
   margin: 20px 0;
   border-top: 1px solid var(--border);
   border-bottom: 1px solid var(--border);
   position: relative
}

.director-quote::before {
   content: '"';
   font-family: var(--display);
   font-size: 3rem;
   color: var(--gold);
   position: absolute;
   top: 8px;
   left: 0;
   line-height: 1
}

.director-quote {
   padding-left: 32px
}

.director-creds {
   margin: 20px 0
}

.director-creds li {
   padding: 6px 0;
   font-size: .9rem;
   color: var(--txt2);
   position: relative;
   padding-left: 16px
}

.director-creds li::before {
   content: '';
   position: absolute;
   left: 0;
   top: 13px;
   width: 6px;
   height: 6px;
   background: var(--gold);
   border-radius: 50%
}

/* ═══════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════ */
.final-cta {
   position: relative;
   padding: clamp(80px, 10vw, 140px) 0;
   overflow: hidden;
   text-align: center
}

.final-cta-bg {
   position: absolute;
   inset: 0
}

.final-cta-bg img {
   width: 100%;
   height: 100%;
   object-fit: cover
}

.final-cta-overlay {
   position: absolute;
   inset: 0;
   background: rgba(10, 22, 40, .85)
}

.final-cta-inner {
   position: relative;
   z-index: 2
}

.final-cta h2 {
   font-family: var(--serif);
   font-size: clamp(1.6rem, 3.5vw, 2.8rem);
   color: var(--white);
   font-weight: 300;
   margin-bottom: 16px
}

.final-cta p {
   color: rgba(255, 255, 255, .6);
   font-size: 1rem;
   margin-bottom: clamp(28px, 4vw, 48px)
}

.final-sub {
   display: block;
   margin-top: 20px;
   font-size: .8rem;
   color: rgba(255, 255, 255, .4);
   letter-spacing: .05em
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.footer {
   background: var(--navy);
   padding: clamp(40px, 6vw, 60px) 0;
   color: rgba(255, 255, 255, .5)
}

.ft-top {
   display: flex;
   justify-content: space-between;
   align-items: center;
   padding-bottom: 32px;
   margin-bottom: 32px;
   border-bottom: 1px solid rgba(255, 255, 255, .06);
   flex-wrap: wrap;
   gap: 20px
}

.ft-brand {
   display: flex;
   align-items: center;
   gap: 10px;
   font-family: var(--serif);
   font-size: .95rem;
   color: rgba(255, 255, 255, .8);
   font-weight: 500
}

.ft-logo {
   width: 28px;
   height: 28px;
   object-fit: contain;
   opacity: .85
}

.ft-links {
   display: flex;
   flex-wrap: wrap;
   gap: 6px
}

.ft-links a {
   padding: 6px 14px;
   font-size: .82rem;
   color: rgba(255, 255, 255, .45);
   transition: .3s
}

.ft-links a:hover {
   color: var(--gold)
}

.ft-bottom p {
   font-size: .75rem;
   color: rgba(255, 255, 255, .3);
   margin-bottom: 4px;
   line-height: 1.6
}

/* ═══════════════════════════════════════
   FLOATING PHONE
   ═══════════════════════════════════════ */
.float-phone {
   position: fixed;
   right: 24px;
   bottom: 100px;
   z-index: 998;
   width: 56px;
   height: 56px;
   background: var(--gold);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--navy);
   box-shadow: 0 4px 20px rgba(201, 169, 110, .4);
   transition: .4s var(--ease);
   opacity: 0;
   transform: translateY(20px)
}

.float-phone.visible {
   opacity: 1;
   transform: translateY(0)
}

.float-phone:hover {
   background: var(--gold-dark);
   transform: translateY(-3px) scale(1.05)
}

.float-phone svg {
   width: 22px;
   height: 22px
}

.float-phone::after {
   content: '';
   position: absolute;
   inset: -4px;
   border-radius: 50%;
   border: 1px solid var(--gold);
   opacity: 0;
   animation: phone-ring 2s infinite
}

@keyframes phone-ring {
   0% {
      transform: scale(1);
      opacity: .6
   }

   100% {
      transform: scale(1.5);
      opacity: 0
   }
}

/* ═══════════════════════════════════════
   CHATBOT
   ═══════════════════════════════════════ */
.chatbot {
   position: fixed;
   right: 24px;
   bottom: 24px;
   z-index: 999
}

.chat-trigger {
   width: 56px;
   height: 56px;
   background: var(--navy2);
   border: 1px solid rgba(255, 255, 255, .1);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: rgba(255, 255, 255, .7);
   transition: .4s var(--ease);
   position: relative
}

.chat-trigger:hover {
   background: var(--navy3);
   color: var(--gold)
}

.chat-trigger svg {
   width: 22px;
   height: 22px
}

.chat-badge {
   position: absolute;
   top: -6px;
   right: -16px;
   background: var(--gold);
   color: var(--navy);
   padding: 2px 8px;
   font-size: .6rem;
   font-weight: 700;
   white-space: nowrap;
   border-radius: 8px
}

.chat-window {
   display: none;
   position: absolute;
   bottom: 70px;
   right: 0;
   width: 360px;
   max-height: 520px;
   background: var(--white);
   box-shadow: var(--shadow-l);
   border: 1px solid var(--border);
   flex-direction: column;
   overflow: hidden
}

.chat-window.open {
   display: flex;
   animation: chatUp .3s var(--ease)
}

@keyframes chatUp {
   from {
      opacity: 0;
      transform: translateY(12px)
   }

   to {
      opacity: 1;
      transform: translateY(0)
   }
}

.chat-head {
   padding: 16px 20px;
   background: var(--navy);
   color: var(--white);
   display: flex;
   justify-content: space-between;
   align-items: center
}

.chat-head strong {
   font-size: .9rem;
   font-family: var(--serif)
}

.chat-head small {
   font-size: .72rem;
   color: rgba(255, 255, 255, .5)
}

.chat-close {
   background: none;
   border: none;
   color: rgba(255, 255, 255, .5);
   font-size: 1.4rem;
   line-height: 1;
   transition: .3s
}

.chat-close:hover {
   color: var(--white)
}

.chat-body {
   flex: 1;
   overflow-y: auto;
   padding: 20px;
   max-height: 340px;
   min-height: 260px
}

.chat-msg {
   margin-bottom: 14px;
   animation: chatFade .3s var(--ease)
}

@keyframes chatFade {
   from {
      opacity: 0;
      transform: translateY(6px)
   }

   to {
      opacity: 1;
      transform: translateY(0)
   }
}

.chat-bubble {
   padding: 12px 16px;
   font-size: .88rem;
   line-height: 1.65;
   max-width: 88%;
   border-radius: 12px
}

.chat-msg.bot .chat-bubble {
   background: var(--cream);
   color: var(--txt2);
   border-bottom-left-radius: 2px
}

.chat-msg.user .chat-bubble {
   background: var(--navy);
   color: var(--white);
   margin-left: auto;
   border-bottom-right-radius: 2px
}

.chat-opts {
   display: flex;
   flex-direction: column;
   gap: 6px;
   margin-top: 10px
}

.chat-opt {
   display: block;
   width: 100%;
   padding: 11px 14px;
   background: var(--white);
   border: 1px solid var(--border);
   font-family: var(--sans);
   font-size: .84rem;
   color: var(--txt2);
   text-align: left;
   transition: .3s var(--ease);
   min-height: 44px;
   cursor: pointer
}

.chat-opt:hover {
   background: var(--cream);
   border-color: var(--gold);
   color: var(--gold-dark)
}

.chat-opt.danger:hover {
   background: #fff5f5;
   border-color: #e74c3c;
   color: #c0392b
}

.chat-phone {
   display: inline-block;
   margin-top: 10px;
   padding: 10px 20px;
   background: var(--gold);
   color: var(--navy);
   font-weight: 600;
   font-size: .9rem;
   transition: .3s var(--ease)
}

.chat-phone:hover {
   background: var(--gold-dark);
   color: #fff
}

.chat-input-wrap {
   padding: 12px;
   border-top: 1px solid var(--border);
   display: flex;
   gap: 8px;
   background: var(--white)
}

.chat-input-wrap input {
   flex: 1;
   padding: 10px 14px;
   border: 1px solid var(--border);
   font-family: var(--sans);
   font-size: .88rem;
   outline: none;
   min-height: 44px;
   transition: .3s
}

.chat-input-wrap input:focus {
   border-color: var(--gold)
}

.chat-input-wrap button {
   padding: 0 18px;
   background: var(--navy);
   color: var(--white);
   border: none;
   font-size: .85rem;
   font-weight: 500;
   min-height: 44px;
   transition: .3s var(--ease)
}

.chat-input-wrap button:hover {
   background: var(--navy3)
}

/* ═══════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════ */
.reveal {
   opacity: 0;
   transform: translateY(32px);
   transition: opacity .8s var(--ease), transform .8s var(--ease)
}

.reveal.visible {
   opacity: 1;
   transform: translateY(0)
}

.reveal-delay-1 {
   transition-delay: .15s
}

.reveal-delay-2 {
   transition-delay: .3s
}

.reveal-delay-3 {
   transition-delay: .45s
}

/* ═══════════════════════════════════════
   SHARED PAGE STYLES
   ═══════════════════════════════════════ */
.page-hero {
   position: relative;
   height: 50vh;
   min-height: 400px;
   display: flex;
   align-items: center;
   justify-content: center;
   overflow: hidden;
   text-align: center
}

.page-hero-bg {
   position: absolute;
   inset: 0
}

.page-hero-bg img {
   width: 100%;
   height: 100%;
   object-fit: cover
}

.page-hero-overlay {
   position: absolute;
   inset: 0;
   background: rgba(10, 22, 40, .75)
}

.page-hero-content {
   position: relative;
   z-index: 2;
   padding: 0 24px
}

.page-hero-content h1 {
   font-family: var(--serif);
   font-size: clamp(1.8rem, 4vw, 3rem);
   color: var(--white);
   font-weight: 300;
   margin-bottom: 12px
}

.page-hero-content h1 em {
   color: var(--gold);
   font-weight: 500
}

.page-hero-content p {
   color: rgba(255, 255, 255, .6);
   font-size: 1rem;
   max-width: 520px;
   margin: 0 auto
}

.page-section {
   padding: clamp(60px, 8vw, 120px) 0
}

.page-section.alt {
   background: var(--white)
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media(max-width:1024px) {
   .svc-grid {
      grid-template-columns: 1fr
   }

   .director-sec {
      grid-template-columns: 1fr;
      min-height: auto
   }

   .director-img-col {
      padding: 30px 20px;
      max-height: none;
      overflow: visible
   }

   .intro-grid {
      grid-template-columns: 1fr;
      gap: 32px
   }
}

@media(max-width:768px) {
   .gnb-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(10, 22, 40, .97);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 8px;
      z-index: 999
   }

   .gnb-menu.open {
      display: flex
   }

   .gnb-menu a {
      font-size: 1.1rem;
      padding: 14px 24px;
      color: rgba(255, 255, 255, .8)
   }

   .gnb-cta {
      display: none
   }

   .gnb-toggle {
      display: flex
   }

   .hero {
      min-height: 100svh
   }

   .hero-title {
      font-size: clamp(1.6rem, 6vw, 2.4rem)
   }

   .hero-actions {
      flex-direction: column;
      align-items: center
   }

   .hero-actions .btn-gold,
   .hero-actions .btn-ghost {
      width: 100%;
      max-width: 300px
   }

   .hero-trust {
      gap: 20px
   }

   .trust-num {
      font-size: 1.6rem
   }

   .director-photo {
      max-width: 300px
   }

   .chat-window {
      width: calc(100vw - 32px);
      right: -8px;
      bottom: 66px;
      max-height: 70vh
   }

   .float-phone {
      right: 16px;
      bottom: 92px;
      width: 50px;
      height: 50px
   }

   .chatbot {
      right: 16px;
      bottom: 16px
   }

   .chat-trigger {
      width: 50px;
      height: 50px
   }
}

@media(max-width:480px) {
   .wrap {
      padding: 0 16px
   }

   .hero-trust {
      flex-direction: column;
      gap: 12px
   }

   .trust-divider {
      width: 40px;
      height: 1px
   }
}

.chat-body::-webkit-scrollbar {
   width: 3px
}

.chat-body::-webkit-scrollbar-thumb {
   background: var(--cream2);
   border-radius: 2px
}

@media print {

   .gnb,
   .float-phone,
   .chatbot,
   .preloader {
      display: none !important
   }

   .hero {
      height: auto;
      min-height: auto
   }
}