/* =========================================================
   CNK 씨앤케이 — Blue & White corporate theme
   색상은 아래 :root 값만 바꾸면 사이트 전체에 적용됩니다.
   ========================================================= */
:root {
  --navy: #0b2545;       /* 제목, 푸터 */
  --blue: #1f5eff;       /* 메인 포인트 */
  --blue-deep: #0d3fc4;  /* 버튼 hover */
  --blue-soft: #e8f0ff;  /* 연한 배경 */
  --tint: #f5f8fd;       /* 섹션 배경 */
  --text: #1c2433;
  --muted: #5d6b82;
  --line: #e1e7f0;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 37, 69, .08);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--navy); line-height: 1.3; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- 공통 ---------- */
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  color: var(--blue); margin: 0 0 14px;
}
.eyebrow--light { color: #8fb0ff; }.title { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; margin-bottom: 20px; }
.title--light { color: var(--white); }
.section { padding: 120px 0; }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section__desc { color: var(--muted); font-size: 17px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 30px; border-radius: 8px;
  font-weight: 700; font-size: 16px; border: 1px solid transparent;
  cursor: pointer; transition: .2s ease; font-family: inherit;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--block { width: 100%; }

/* 임시 이미지 자리 (사진 받으면 <img>로 교체) */
.ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle, rgba(31,94,255,.18) 1.2px, transparent 1.6px) 0 0 / 14px 14px,
    linear-gradient(135deg, #dfe9ff 0%, #f3f7ff 60%, #e6eefc 100%);
}
.ph__label {
  position: absolute; left: 16px; top: 14px;
  font-size: 12px; font-weight: 600; color: var(--blue);
  background: rgba(255,255,255,.85); padding: 4px 10px; border-radius: 20px;
}

/* ---------- 헤더 ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 50;
  background: rgba(255,255,255,0); transition: background .25s, box-shadow .25s;
}
.header.is-scrolled, .header.is-open {
  background: rgba(255,255,255,.96); box-shadow: 0 1px 0 var(--line);
  backdrop-filter: saturate(180%) blur(10px);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header__logo { display: flex; align-items: center; gap: 10px; }
.header__logo img { width: 62px; height: auto; transition: filter .25s; }
.header__name { font-weight: 800; font-size: 18px; color: var(--navy); letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav a { font-weight: 600; font-size: 15.5px; color: var(--text); transition: color .2s; }
.nav a:hover { color: var(--blue); }
.nav .nav__cta {
  background: var(--blue); color: var(--white) !important;
  padding: 10px 20px; border-radius: 6px;
}
.nav .nav__cta:hover { background: var(--blue-deep); }

.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: .25s; }
.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); }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f6ff 100%);
  color: var(--text);
}
.hero__dots {
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(31,94,255,.14) 1.4px, transparent 1.8px) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 45%);
          mask-image: linear-gradient(90deg, #000 0%, transparent 45%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero .eyebrow { color: var(--blue); font-size: 15px; letter-spacing: .02em; }
.hero h1 { color: var(--navy); font-size: clamp(36px, 5.2vw, 64px); font-weight: 800; margin-bottom: 26px; }
.hero h1 .accent { color: var(--blue); }
.hero__lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--muted); margin-bottom: 40px; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn--primary { box-shadow: 0 10px 24px rgba(31,94,255,.28); }
.hero .btn--ghost { border-color: rgba(31,94,255,.35); color: var(--blue); background: var(--white); }
.hero .btn--ghost:hover { background: var(--blue-soft); }
/* 히어로 슬로건 */
.hero__slogan {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px;
  margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
}
.hero__slogan strong { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: .01em; }
.hero__slogan span { font-size: 15.5px; font-weight: 600; color: var(--blue); }

/* 회전 카드 (원형 배치) */
/* --rx: 좌우 반경, --ry: 위아래 반경 */
.ring { --card-w: 320px; --card-h: 240px; --rx: 190px; --ry: 70px; position: relative; }
/* 카드 뒤 밝은 파란 패널 (화면 오른쪽 끝까지) */
.ring::before {
  content: ""; position: absolute; z-index: 0;
  top: -48px; bottom: -40px; left: -56px; right: -100vw;
  border-radius: 48px 0 0 48px;
  background:
    radial-gradient(circle at 20% 15%, rgba(255,255,255,.22), transparent 45%),
    linear-gradient(135deg, #3a78ff 0%, var(--blue) 55%, #1749d6 100%);
  box-shadow: 0 30px 60px rgba(31,94,255,.25);
}
.ring > * { position: relative; z-index: 1; }
/* 사진 아래 영문 분야 표기 */
.ring__caption {
  margin: 14px 0 0; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; color: rgba(255,255,255,.88);
}
.ring__stage { position: relative; height: calc(var(--card-h) + var(--ry) * 2 + 20px); }
.ring__track { position: absolute; inset: 0; }
.ring__card {
  position: absolute; left: 50%; top: 50%;
  width: var(--card-w); height: var(--card-h);
  margin: calc(var(--card-h) / -2) 0 0 calc(var(--card-w) / -2);
  border-radius: 16px; overflow: hidden; background: #eaf1ff;
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 24px 50px rgba(8,30,90,.35);
  will-change: transform, opacity;
}
.ring__card:not(.is-front) span::after { content: none; }
.ring__card img { width: 100%; height: 100%; object-fit: cover; }
.ring__card span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 18px;
  background: linear-gradient(transparent, rgba(11,37,69,.85));
  color: #fff; font-weight: 700; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.ring__card span::after { content: "자세히 →"; font-size: 12px; font-weight: 600; opacity: .8; }
.ring__dots { display: flex; justify-content: center; gap: 8px; margin-top: 6px; }
.ring__dot {
  width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.4); transition: width .3s, background .3s;
}
.ring__dot.is-active { width: 26px; background: var(--white); }

/* ---------- 수치 ---------- */
.stats { background: var(--white); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 40px 24px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.stat strong em { font-style: normal; color: var(--blue); }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- 회사소개 ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about__img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #eaf1ff; }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__text b { color: var(--navy); }
.eyebrow--about { font-size: 15px; color: var(--muted); }
.eyebrow--about strong { color: var(--blue); font-size: 22px; font-weight: 900; letter-spacing: .08em; margin-left: 4px; }

/* 예시 이미지 표시 */
.sample {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: #fff; background: rgba(11,37,69,.55); padding: 3px 10px; border-radius: 20px;
}
.about__text p { color: var(--muted); font-size: 17px; }
.about__text .slogan {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0 0 28px; padding: 4px 0 4px 18px; border-left: 3px solid var(--blue);
}
.slogan__en { font-size: 21px; font-weight: 800; color: var(--navy); letter-spacing: .01em; }
.slogan__ko { font-size: 16px; font-weight: 600; color: var(--blue); }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-weight: 600; color: var(--navy); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

/* ---------- 인쇄 분야 카드 ---------- */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.card { grid-column: span 2; }
.card:nth-child(4) { grid-column: 2 / span 2; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); }
.card:target { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,94,255,.2), var(--shadow); }
.card__img { position: relative; aspect-ratio: 4 / 3; background: #eaf1ff; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { flex: 1; display: flex; flex-direction: column; }
.card__more { margin-top: auto; padding-top: 16px; font-size: 14px; font-weight: 700; color: var(--blue); }
.card__body { padding: 26px 24px 30px; }
.card__no { font-size: 13px; font-weight: 800; color: var(--blue); }
.card h3 { font-size: 20px; margin: 6px 0 10px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- 적용 제품 ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product {
  text-align: center; padding: 44px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); transition: border-color .2s, background .2s;
}
.product:hover { border-color: var(--blue); background: var(--blue-soft); }
.product__icon {
  width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--blue-soft); display: grid; place-items: center;
}
.product__icon svg { width: 38px; height: 38px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.product h3 { font-size: 19px; margin-bottom: 6px; }
.product p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- 품질 ---------- */
.quality { background: linear-gradient(135deg, #2a6bff 0%, var(--blue) 50%, #1749d6 100%); color: rgba(255,255,255,.9); position: relative; overflow: hidden; }
.quality::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
}
.quality .eyebrow--light { color: rgba(255,255,255,.85); }
.quality__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.quality__text p { font-size: 17px; }
.quality__points { display: grid; gap: 16px; }
.qpoint {
  display: flex; gap: 20px; padding: 26px 28px; border-radius: var(--radius);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
}
.qpoint__no { font-size: 15px; font-weight: 800; color: var(--white); opacity: .85; padding-top: 2px; }
.qpoint h3 { color: var(--white); font-size: 18px; margin-bottom: 4px; }
.qpoint p { margin: 0; font-size: 15px; }

/* ---------- 진행 절차 ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: s; }
.step {
  position: relative; padding: 30px 22px; border-radius: var(--radius);
  background: var(--tint); border-top: 3px solid var(--blue);
}
.step__no { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--blue); }
.step h3 { font-size: 18px; margin: 8px 0 6px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }

/* ---------- 포트폴리오 ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.tab {
  font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 10px 20px; border-radius: 999px;
  background: var(--white); color: var(--muted); border: 1px solid var(--line);
  transition: .2s;
}
.tab:hover { color: var(--blue); border-color: var(--blue); }
.tab.is-active { background: var(--blue); color: var(--white); border-color: var(--blue); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery__item {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  background: var(--white); border: 1px solid var(--line);
}
.gallery__item[hidden] { display: none; }
.gallery__media {
  position: relative; aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #eaf1ff, #d9e5ff);
}
.gallery__media img, .gallery__media svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__media.is-sample::after {
  content: "예시 이미지"; position: absolute; right: 12px; top: 12px;
  font-size: 11px; font-weight: 700; color: #fff; background: rgba(11,37,69,.55);
  padding: 3px 10px; border-radius: 20px;
}
.gallery__item figcaption { padding: 16px 20px 18px; font-weight: 700; color: var(--navy); font-size: 16px; }
.gallery__item .tag {
  display: block; font-size: 12px; font-weight: 700; color: var(--blue); margin-bottom: 2px; letter-spacing: .02em;
}
.sample-note { margin: 24px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- 문의 ---------- */
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.info { margin: 36px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 80px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info dt { font-weight: 700; color: var(--navy); }
.info dd { margin: 0; color: var(--muted); }
.info dd a:hover { color: var(--blue); }

.form {
  background: var(--tint); border-radius: var(--radius); padding: 40px;
  display: grid; gap: 18px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 600; font-size: 14.5px; color: var(--navy); }
.form label > input, .form label > select, .form label > textarea { display: block; margin-top: 8px; }
.form label b { color: var(--blue); }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-weight: 400; font-size: 15px; color: var(--text);
  background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 13px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,94,255,.15);
}
.form__note { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.form__note b { color: var(--blue); }
.form__note a { color: var(--blue); text-decoration: underline; }
.form .btn:disabled { opacity: .6; cursor: wait; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* 안내창 */
.modal {
  position: fixed; inset: 0; z-index: 100; padding: 16px;
  display: grid; place-items: center;
  background: rgba(6,26,51,.55); backdrop-filter: blur(3px);
  animation: fadeIn .2s ease;
}
.modal[hidden] { display: none; }
.modal__box {
  width: 100%; max-width: 380px; background: var(--white); border-radius: 16px;
  padding: 36px 28px 28px; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,.25);
  animation: popIn .25s ease;
}
.modal__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue-soft) center / 30px no-repeat; }
.modal__icon.is-ok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231f5eff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.modal__icon.is-err { background-color: #fff0f0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v6M12 16.5v.5' fill='none' stroke='%23e5484d' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.modal__title { font-size: 20px; margin-bottom: 8px; }
.modal__text { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(10px) scale(.97); } }

.map { margin-top: 70px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 400px; border: 0; }

/* ---------- 푸터 ---------- */
.footer { background: #061a33; color: rgba(255,255,255,.6); padding: 56px 0; font-size: 14px; }
.footer__inner { display: flex; gap: 48px; align-items: flex-start; }
.footer__logo { width: 70px; height: auto; flex-shrink: 0; }
.footer p { margin: 0 0 4px; }
.footer strong { color: var(--white); }
.footer__slogan { color: #8fb0ff; font-weight: 600; margin-bottom: 12px !important; }
.footer .sep { margin: 0 8px; opacity: .4; }
.footer__copy { margin-top: 14px !important; opacity: .7; }

/* 모바일 고정 견적 버튼 */
.fab { display: none; }

/* 스크롤 등장 효과 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =================== 반응형 =================== */
@media (max-width: 1024px) {
  .cards, .products { grid-template-columns: repeat(2, 1fr); }
  .card, .card:nth-child(4) { grid-column: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .ring { --card-w: 270px; --card-h: 202px; --rx: 150px; --ry: 60px; }
  .about__grid, .quality__grid { gap: 50px; }
  .ring__caption { font-size: 11px; letter-spacing: .08em; }
  .ring::before { left: -72px; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 44px; }

  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); padding: 8px 24px 24px;
    box-shadow: 0 12px 24px rgba(11,37,69,.08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .header.is-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav a { color: var(--text) !important; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin-top: 16px; text-align: center; border-bottom: 0; }
  .nav-toggle { display: block; }
  .header__logo img { width: 52px; }

  .hero__inner { grid-template-columns: 1fr; }
  .ring { --card-w: 280px; --card-h: 210px; --rx: 170px; --ry: 56px; margin-top: 40px; }
  .ring::before { top: -28px; bottom: -28px; left: -8px; right: -8px; border-radius: 28px; }
  .hero__slogan { margin-top: 32px; }
  .br-pc { display: none; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 28px 12px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .about__grid, .quality__grid, .contact__grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }

  .fab {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; height: 52px;
    background: var(--blue); color: var(--white); font-weight: 700; border-radius: 10px;
    box-shadow: 0 10px 24px rgba(31,94,255,.35);
    opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s;
  }
  .fab.is-show { opacity: 1; transform: none; pointer-events: auto; }
  .footer { padding-bottom: 96px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero .eyebrow { font-size: 13px; letter-spacing: 0; }
  .ring__caption { font-size: 10px; letter-spacing: .08em; }
  .hero__slogan strong { font-size: 16px; }
  .hero__slogan span { font-size: 14px; }
  .cards, .products { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product { padding: 28px 12px; }
  .product__icon { width: 60px; height: 60px; }
  .product__icon svg { width: 30px; height: 30px; }
  .steps { grid-template-columns: 1fr; }
  .ring { --card-w: 230px; --card-h: 172px; --rx: 105px; --ry: 46px; }
  .ring__card span { font-size: 14px; padding: 10px 14px; }
  .gallery { gap: 12px; }
  .gallery__item figcaption { font-size: 14px; padding: 12px 14px 14px; }
  .tab { padding: 8px 14px; font-size: 14px; }
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .hero__btns .btn { flex: 1; }
  .footer__inner { flex-direction: column; gap: 20px; }
  .footer .sep { display: none; }
  .footer p { word-break: break-all; }
}
