/* ==========================================
   옐로우 프리미엄 홈케어 — 서비스 업체 스타일
   ========================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --green:      #2d5a3d;
  --green-dark: #1e3d29;
  --green-soft: #eaf2ec;
  --yellow:     #f5c400;
  --yellow-dk:  #d4a800;
  --yellow-soft:#fff9e0;
  --red-check:  #d32f2f;
  --white:      #ffffff;
  --off:        #f7f6f3;
  --text:       #111111;
  --muted:      #555555;
  --border:     #e0e0e0;
  --radius:     10px;
  --max-w:      1100px;
  --hh:         68px;
  --font-head:  'Pretendard Variable', 'Pretendard', -apple-system, sans-serif;
  --font-body:  'Pretendard Variable', 'Pretendard', -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1 { font-family: var(--font-head); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-family: var(--font-head); font-weight: 700; letter-spacing: -0.025em; }
h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.01em; }
h1,h2,h3,h4,p,blockquote { margin: 0; }
ul,ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

/* ── topbar ── */

/* ── header ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--green);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--hh);
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.logo-branch {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.01em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s;
}
.nav a:hover { color: var(--text); }
.nav-cta {
  padding: 0.5rem 1.1rem;
  background: var(--yellow);
  color: var(--text) !important;
  font-weight: 700 !important;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--yellow-dk); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}
.btn:hover { filter: brightness(0.93); transform: translateY(-1px); }
.btn-yellow {
  background: var(--yellow);
  color: var(--text);
}
.btn-white {
  background: var(--white);
  color: var(--green);
  border-color: var(--white);
}
.btn-block { width: 100%; }

/* ── hero ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video--base { z-index: 1; }
.hero-video--blend {
  z-index: 2;
  opacity: 0;
  animation: heroVideoBlend 12s ease-in-out infinite;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    radial-gradient(circle at 50% 42%, rgba(0,0,0,.18) 0%, rgba(0,0,0,.52) 48%, rgba(0,0,0,.74) 100%),
    linear-gradient(180deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.58) 45%, rgba(0,0,0,.72) 100%);
}

@keyframes heroVideoBlend {
  0%, 38% { opacity: 0; }
  50%, 82% { opacity: 1; }
  100% { opacity: 0; }
}

/* placeholder */
.hero-placeholder {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: #1a2e22;
  overflow: hidden;
}
.hpl-tiles {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  grid-template-rows: repeat(4,1fr);
  gap: 4px; padding: 4px;
}
.hpl-tiles span { background: #1e3929; border-radius: 3px; }
.hpl-wiper {
  position: absolute;
  top: 0; left: -50%; width: 45%; height: 100%;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,0.12) 45%,rgba(255,255,255,0.22) 55%,transparent);
  animation: wipe 3.6s cubic-bezier(.4,0,.2,1) infinite;
}
.hpl-stain {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  animation: stain 3.6s ease-in-out infinite;
}
.hpl-stain.s1 { width:70px;height:50px;top:18%;left:12%; }
.hpl-stain.s2 { width:50px;height:35px;top:52%;left:58%;animation-delay:.4s; }
.hpl-stain.s3 { width:40px;height:28px;top:70%;left:32%;animation-delay:.8s; }
.hpl-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,transparent 25%,rgba(245,196,0,.07) 50%,transparent 75%);
  animation: shine 3.6s ease-in-out infinite;
}
.hpl-spark {
  position: absolute;
  font-size: 1.1rem;
  color: var(--yellow);
  opacity: 0;
  animation: spark 3.6s ease-in-out infinite;
  text-shadow: 0 0 8px rgba(245,196,0,.8);
}
.hpl-spark.sp1{top:20%;left:20%;animation-delay:2.2s;}
.hpl-spark.sp2{top:48%;left:65%;animation-delay:2.5s;}
.hpl-spark.sp3{top:72%;left:42%;animation-delay:2.8s;}

@keyframes wipe {
  0%   { left: -50%; }
  50%  { left: 115%; }
  100% { left: 115%; }
}
@keyframes stain {
  0%,35% { opacity:1; }
  60%,100% { opacity:0; }
}
@keyframes shine {
  0%,45% { opacity:0; transform:translateX(-30%); }
  60%    { opacity:1; transform:translateX(20%); }
  80%,100%{ opacity:0; transform:translateX(60%); }
}
@keyframes spark {
  0%,60% { opacity:0; transform:scale(.4); }
  75%,90%{ opacity:1; transform:scale(1.1); }
  100%   { opacity:0; transform:scale(.8); }
}

/* hero content */
.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
  padding: 3.5rem 0 4.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
}
.hero-eyebrow {
  display: inline-block;
  padding: .34rem .8rem;
  background: var(--yellow);
  color: #1a1a1a;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .01em;
  margin-bottom: 1rem;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.hero h1 {
  font-size: clamp(2.55rem, 5.8vw, 4.15rem);
  font-weight: 900;
  line-height: 1.14;
  color: var(--white);
  letter-spacing: -0.045em;
  margin-bottom: .9rem;
  text-shadow: 0 4px 28px rgba(0,0,0,.55);
}
.hero h1 mark {
  background: none;
  color: var(--yellow);
  text-shadow: 0 4px 24px rgba(0,0,0,.58);
}

.type-cursor {
  display: inline-block;
  color: var(--yellow);
  font-weight: 300;
  animation: blink .75s step-end infinite;
  margin-left: 1px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  max-width: 34rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem .7rem;
  margin-bottom: 1.75rem;
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .36rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.92);
  font-size: .8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.hero-proof li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}
.hero-cta {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  justify-content: center;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem;
  padding: .85rem .9rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(0,0,0,.22);
  backdrop-filter: blur(8px);
}
.hero-tags li {
  padding: .35rem .75rem;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}

/* ── sec-head ── */
.sec-head {
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 3px solid var(--text);
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.sec-head p {
  font-size: .95rem;
  color: var(--muted);
}
.sec-head--light {
  border-bottom-color: rgba(255,255,255,.3);
}
.sec-head--light h2 { color: var(--white); }
.sec-head--light p  { color: rgba(255,255,255,.65); }

/* ── services ── */
.services {
  padding: 5rem 0;
  background: var(--white);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px,1fr));
  gap: 1px;
  border: 1px solid var(--border);
}
.svc-card {
  background: var(--white);
  overflow: hidden;
  border: none;
  transition: background .18s;
  position: relative;
}
.svc-card:hover { background: #f9f9f7; }
.svc-card--accent .svc-body { border-left: 4px solid var(--green); }
.svc-photo {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #e0e8e4;
}
.svc-photo-inner {
  width: 100%; height: 100%;
  background: #d8e4de;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-photo--grout   .svc-photo-inner { background: #c8d8cc; }
.svc-photo--sink    .svc-photo-inner { background: #ccd4d0; }
.svc-photo--nano    .svc-photo-inner { background: #c4d0cc; }
.svc-photo--real {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.svc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-photo-inner::after {
  content: '사진 추가 예정';
  font-size: .72rem;
  color: rgba(0,0,0,.3);
  font-weight: 600;
  letter-spacing: .02em;
}
.svc-body {
  padding: 1.2rem 1.4rem 1.5rem;
  border-top: 1px solid var(--border);
}
.svc-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.svc-body p {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── why ── */
.why {
  padding: 5rem 0;
  background: var(--green);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 700px) {
  .why-grid { grid-template-columns: 1fr; }
}
@media (min-width: 701px) and (max-width: 999px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
.why-grid li {
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background .2s;
}
.why-grid li:hover { background: rgba(255,255,255,.07); }
.why-grid h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: .65rem;
  line-height: 1.3;
}
.why-grid p {
  font-size: .95rem;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
}

/* ── story ── */
.story {
  padding: 5rem 0;
  background: var(--off);
}
.story-inner {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media(min-width:860px){
  .story-inner { grid-template-columns: 380px 1fr; }
}
.story-photo {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 14px;
  overflow: hidden;
}
.story-owner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.story-photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 60%,
    rgba(255,255,255,.6) 100%
  );
  pointer-events: none;
}
.story-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .7rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.story-label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--green);
}
.story-text h2 {
  font-size: clamp(1.6rem,2.8vw,2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin-bottom: 1.5rem;
}
.story-text p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.story-text strong { color: var(--text); font-weight: 700; }
.story-text blockquote {
  margin: 1.75rem 0 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 5px solid var(--yellow);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.7;
  color: var(--text);
}
.story-sign {
  font-size: .88rem;
  font-weight: 700;
  color: var(--green);
}

/* ── chemicals ── */
.chemicals {
  padding: 5rem 0;
  background: var(--white);
}
.chem-wrap {
  display: grid;
  gap: 2.5rem;
}
@media(min-width:860px){
  .chem-wrap { grid-template-columns: 1fr 1fr; align-items: start; }
}
.chem-photos {
  border-radius: 14px;
  overflow: hidden;
}
.chem-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 14px;
}
.chem-list { display: flex; flex-direction: column; gap: 1.5rem; }
.chem-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--green);
}
.chem-list strong {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: .35rem;
}
.chem-list p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── process ── */
.process {
  padding: 5rem 0;
  background: var(--off);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(220px,1fr));
  gap: 0;
  border: 1px solid var(--border);
}
.process-steps li {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.ps-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(45,90,61,.12);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -0.04em;
}
.process-steps h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.process-steps p {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── contact ── */
.contact {
  padding: 5rem 0 6rem;
  background: var(--green-dark);
}
.contact-wrap {
  display: grid;
  gap: 3rem;
}
@media(min-width:860px){
  .contact-wrap { grid-template-columns: 1fr 1.4fr; align-items: start; }
}
.contact-info h2 {
  font-size: clamp(1.4rem,2.5vw,1.9rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}
.big-phone {
  display: block;
  font-size: clamp(1.8rem,4vw,2.6rem);
  font-weight: 900;
  color: var(--yellow);
  letter-spacing: -0.02em;
  margin-bottom: .4rem;
  line-height: 1;
}
.contact-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 2rem;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.contact-detail li {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
}
/* form */
.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-full { grid-column: 1 / -1; }
.contact-form label { font-size: .82rem; font-weight: 600; }
.grout-options {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  background: #fbfbf7;
}
.grout-options[hidden] { display: none; }
.grout-options legend {
  padding: 0 .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--green);
}
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem .9rem;
}
.check-grid label {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .65rem .75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
}
.check-grid input { width: auto; accent-color: var(--green); }
.optional {
  color: var(--muted);
  font-weight: 500;
}
.form-help {
  margin: 0;
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}
.photo-upload-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.photo-upload-box {
  min-height: 130px;
  border: 1.5px dashed #c9d4ca;
  border-radius: 14px;
  background: #fbfbf7;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s;
}
.photo-upload-box:hover {
  border-color: var(--green);
  background: #f5f8f1;
  transform: translateY(-1px);
}
.photo-upload-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--yellow);
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.photo-upload-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--text);
}
.photo-upload-desc {
  font-size: .78rem;
  color: var(--muted);
}
.photo-upload-name {
  margin: 0;
  font-size: .78rem;
  color: var(--green);
  min-height: 1.2em;
}
.photo-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  gap: .6rem;
}
.photo-preview:empty { display: none; }
.photo-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f5f5f3;
}
.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-preview-item span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: .15rem .4rem;
  border-radius: 999px;
  background: rgba(0,0,0,.62);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: .95rem;
  padding: .7rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.contact-form .btn-block { grid-column: 1/-1; margin-top: .25rem; }
.form-note {
  grid-column: 1/-1;
  font-size: .85rem;
  text-align: center;
  min-height: 1.2em;
  color: var(--green);
}

/* ── footer ── */
.footer {
  padding: 2rem 0;
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,.08);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-tagline {
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-top: .5rem;
}
.footer-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  text-align: right;
}
.footer-info a {
  color: var(--yellow);
  font-weight: 600;
}
.footer-copy {
  padding-top: 1rem;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
  text-align: center;
}
@media(max-width:600px){
  .footer-inner { flex-direction: column; }
  .footer-info { text-align: left; }
}

/* ── 작업 사례 슬라이더 ── */
.gallery { padding: 5rem 0; background: #111; }
.gallery .sec-head h2 { color: #fff; }
.gallery .sec-head p  { color: rgba(255,255,255,.5); }
.ba-cases {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2.5rem;
}
.ba-case-title {
  font-size: .8rem;
  font-weight: 700;
  color: rgba(255,255,255,.45);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
/* slider */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 14px;
  cursor: col-resize;
  user-select: none;
  touch-action: none;
}
.ba-s-after,
.ba-s-before {
  position: absolute;
  inset: 0;
}
.ba-s-after  { z-index: 1; }
.ba-s-before { z-index: 2; clip-path: inset(0 50% 0 0); }
.ba-s-after img,
.ba-s-before img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.ba-s-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  z-index: 10;
  width: 3px;
  background: #fff;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ba-s-handle::before {
  content: '';
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.ba-s-arrow {
  position: relative;
  z-index: 1;
  font-size: .85rem;
  color: #111;
  font-weight: 800;
  letter-spacing: -.05em;
  pointer-events: none;
}
.ba-s-tag {
  position: absolute;
  bottom: 14px;
  z-index: 5;
  padding: .3rem .8rem;
  border-radius: 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  pointer-events: none;
}
.ba-s-tag--before { left: 14px;  background: rgba(0,0,0,.6); color: #fff; }
.ba-s-tag--after  { right: 14px; background: var(--yellow);  color: #111; }
@media(max-width:600px){
  .ba-slider { aspect-ratio: 4/3; }
}

/* ── 우측 플로팅 버튼 ── */
.side-btns {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.side-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 62px;
  padding: .7rem .3rem;
  font-size: .65rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 22px rgba(0,0,0,.18);
  transition: width .2s ease, padding .2s ease, filter .2s ease;
  cursor: pointer;
}

.side-btn:first-child { border-radius: 8px 0 0 0; }
.side-btn:last-child  { border-radius: 0 0 0 8px; }

.side-btn--kakao { background: #fee500; color: #3a1d1d; border-color: rgba(0,0,0,.08); }
.side-btn--phone { background: var(--green-dark); }
.side-btn--blog  { background: var(--green); }
.side-btn--quote { background: #111; }

.side-btn:hover { width: 72px; filter: brightness(1.05); }
.side-btn svg { flex-shrink: 0; }

@media (max-width: 640px) {
  .side-btns {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    flex-direction: row;
    transform: none;
  }
  .side-btn {
    flex: 1;
    width: auto;
    border-radius: 0 !important;
    padding: .65rem .2rem;
    font-size: .62rem;
    box-shadow: none;
  }
  .side-btn:hover { width: auto; }
}

/* ── mobile nav ── */
@media(max-width:768px){
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--hh);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform .3s, opacity .3s, visibility .3s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    padding: .8rem 1rem;
    width: 100%;
    border-radius: var(--radius);
  }
  .nav-cta { text-align: center; margin-top: .5rem; }
  .header.is-open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .header.is-open .nav-toggle span:nth-child(2){ opacity: 0; }
  .header.is-open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .contact-form { grid-template-columns: 1fr; }
  .hero { min-height: 85vh; }
  .float-call { bottom: 1rem; right: 1rem; font-size: .82rem; }
}

/* ── reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
