:root {
  --navy: #061b3a;
  --navy-dark: #031126;
  --navy-deep: #020918;
  --navy-soft: #0b2c55;
  --gold: #c9893a;
  --gold-2: #e0ad68;
  --bg: #f6f8fb;
  --bg-2: #eef3f9;
  --card: #ffffff;
  --text: #1b2430;
  --muted: #657083;
  --line: #e3e9f2;
  --footer: #111827;
  --shadow: 0 18px 45px rgba(6, 27, 58, 0.12);
  --shadow-strong: 0 30px 70px rgba(2, 9, 24, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  word-break: keep-all;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  outline-offset: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(201, 137, 58, 0.6);
}

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

figure {
  margin: 0;
}

.container {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Common */
.section {
  padding: 110px 0;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 44px;
}

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading.compact {
  margin-bottom: 34px;
}

.section-heading.left {
  justify-content: flex-start;
  text-align: left;
}

.section-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(201, 137, 58, 0.12);
  border: 1px solid rgba(201, 137, 58, 0.22);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
}

.section-heading.dark .section-no {
  color: #f4c17b;
  background: rgba(244, 193, 123, 0.12);
  border-color: rgba(244, 193, 123, 0.22);
}

.section-heading h2,
.estimate-copy h2,
.geo-summary h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.2;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  color: #fff;
  background: linear-gradient(135deg, var(--gold), #a86420);
  box-shadow: 0 16px 36px rgba(201, 137, 58, 0.32);
}

.btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.placeholder {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius-lg);
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, #163a66, #5d8eb6);
}

.placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.42;
}

.placeholder figcaption,
.placeholder span {
  position: relative;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(2, 9, 24, 0.32);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.placeholder.alt {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03)),
    linear-gradient(135deg, #26354e, #8f9bb0);
}

/* Floating */
.floating-menu {
  position: fixed;
  top: 50%;
  right: 22px;
  z-index: 40;
  display: grid;
  gap: 8px;
  transform: translateY(-50%);
}

.floating-link {
  display: grid;
  place-items: center;
  min-width: 78px;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 17, 38, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  font-size: 13px;
  font-weight: 900;
}

.floating-link:hover {
  transform: translateX(-4px);
  background: rgba(6, 27, 58, 0.95);
}

.floating-primary {
  background: linear-gradient(135deg, var(--gold), #a86420);
}

.mobile-cta {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  color: #fff;
  background: var(--navy-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 9, 24, 0.96) 0%, rgba(3, 17, 38, 0.9) 34%, rgba(3, 17, 38, 0.38) 65%, rgba(3, 17, 38, 0.08) 100%),
    radial-gradient(circle at 70% 20%, rgba(104, 182, 235, 0.24), transparent 32%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 170px;
  background: linear-gradient(0deg, rgba(2, 9, 24, 0.86), transparent);
}

.hero-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 22%, rgba(130, 205, 255, 0.92), transparent 20%),
    linear-gradient(135deg, #05142d 0%, #0a315e 43%, #70b9e7 100%);
}

.building-grid {
  position: absolute;
  inset: -80px -12% -40px 35%;
  opacity: 0.7;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.36) 2px, transparent 2px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.23) 2px, transparent 2px);
  background-size: 150px 100%, 100% 132px;
  transform: skewX(-7deg);
}

.building-line {
  position: absolute;
  right: 8%;
  bottom: 110px;
  width: 110px;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, rgba(3, 17, 38, 0.16), rgba(2, 9, 24, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.b1 { height: 240px; right: 10%; }
.b2 { height: 170px; right: 22%; width: 82px; }
.b3 { height: 300px; right: 32%; width: 96px; }

.hero-inner {
  position: relative;
  z-index: 4;
  min-height: 690px;
  padding: 34px 0 96px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 0.9;
}

.brand-logo {
  display: inline-block;
  color: #fff;
  font-size: 35px;
  font-weight: 950;
  line-height: 0.8;
  letter-spacing: -2.6px;
  text-shadow:
    -1px -1px 0 #1689d8,
    1px -1px 0 #1689d8,
    -1px 1px 0 #1689d8,
    1px 1px 0 #1689d8,
    5px 0 0 #f27c22;
}

.brand-logo-img {
  width: 185px;
  height: auto;
}

.brand-caption {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.1px;
}

.hero-copy {
  width: min(100%, 760px);
  margin-top: 96px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.3vw, 72px);
  line-height: 1.07;
  letter-spacing: -0.065em;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 strong {
  margin-top: 8px;
  color: #fff;
  font-weight: 950;
}

.hero-lead {
  margin: 24px 0 0;
  color: #f4c17b;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-summary {
  width: min(100%, 650px);
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* Why */
.why {
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.promise-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 30px 26px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.promise-card::after {
  content: "";
  position: absolute;
  right: -50px;
  top: -50px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(201, 137, 58, 0.09);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
  border-radius: 16px;
  color: var(--gold);
  background: rgba(201, 137, 58, 0.12);
  font-weight: 950;
}

.promise-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.promise-card small {
  font-size: 0.48em;
  letter-spacing: -0.02em;
}

.promise-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 19px;
  letter-spacing: -0.035em;
}

.promise-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

/* Manufacture */
.manufacture {
  overflow: hidden;
  padding: 112px 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(111, 181, 235, 0.20), transparent 28%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #082f57 100%);
}

.manufacture-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}

.manufacture .section-heading h2 {
  color: #fff;
}

.since {
  margin: 0 0 8px;
  color: #f4c17b;
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.manufacture-title {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.manufacture-strong {
  margin: 0 0 16px;
  color: #f4c17b;
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 950;
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.manufacture-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.madico-card {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.madico-logo {
  color: #fff;
  font-size: 31px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.madico-card span:not(.madico-logo) {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.madico-card small {
  color: rgba(255, 255, 255, 0.52);
}

.product-placeholder {
  aspect-ratio: 4 / 2.2;
  margin-top: 22px;
}

.process-gallery {
  display: grid;
  gap: 16px;
}

.process-main {
  aspect-ratio: 16 / 9;
  min-height: 320px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-strong);
}

.process-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.process-thumbs .placeholder {
  aspect-ratio: 1 / 0.86;
  min-height: 112px;
  border-radius: var(--radius-md);
}

/* Cases */
.cases {
  background: #fff;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.case-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 15px 36px rgba(6, 27, 58, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.case-card a:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(6, 27, 58, 0.15);
}

.case-thumb {
  aspect-ratio: 4 / 3.2;
  min-height: 0;
  border-radius: 0;
  border: 0;
}

.case-body {
  padding: 20px;
}

.case-type {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0 11px;
  border-radius: 999px;
  color: var(--gold);
  background: rgba(201, 137, 58, 0.11);
  font-size: 12px;
  font-weight: 900;
}

.case-body h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.case-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* GEO summary */
.geo-summary {
  padding: 44px 0;
  background: linear-gradient(135deg, #edf4fb, #fff7eb);
}

.summary-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  padding: 34px;
  border: 1px solid rgba(201, 137, 58, 0.18);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 42px rgba(6, 27, 58, 0.08);
}

.geo-summary h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.geo-summary p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 17px;
}

/* FAQ 상단 GEO/SEO 요약 안내 박스 */
.faq-area-note {
  position: relative;
  margin: 0 0 32px;
  padding: 24px 28px 24px 30px;
  border: 1px solid rgba(201, 137, 58, 0.28);
  border-left: 5px solid var(--color-gold, #c9893a);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(6, 27, 58, 0.96), rgba(3, 17, 38, 0.96)),
    var(--color-navy, #061b3a);
  box-shadow: 0 18px 45px rgba(3, 17, 38, 0.16);
  color: #ffffff;
  overflow: hidden;
}

.faq-area-note::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(201, 137, 58, 0.12);
  pointer-events: none;
}

.faq-area-note strong {
  display: block;
  margin-bottom: 10px;
  color: var(--color-gold, #c9893a);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-area-note p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .faq-area-note {
    margin-bottom: 24px;
    padding: 20px 20px 20px 22px;
    border-radius: 15px;
  }

  .faq-area-note strong {
    font-size: 1.02rem;
  }

  .faq-area-note p {
    font-size: 0.94rem;
    line-height: 1.65;
  }
}

/* FAQ */
.faq {
  background: var(--bg);
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 12px 32px rgba(6, 27, 58, 0.07);
}

.faq-item h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 20px;
  letter-spacing: -0.035em;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

/* Estimate */
.estimate {
  padding: 112px 0;
  background:
    linear-gradient(135deg, rgba(3, 17, 38, 0.92), rgba(6, 27, 58, 0.82)),
    linear-gradient(135deg, #142c4c, #071833);
  color: #fff;
}

.estimate-inner {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 42px;
  align-items: start;
}

.estimate-copy h2 {
  margin: 18px 0 18px;
  color: #fff;
}

.estimate-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.contact-list dt,
.contact-list dd {
  margin: 0;
}

.contact-list dt {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 800;
}

.contact-list dd {
  color: #fff;
  font-weight: 900;
}

.estimate-form {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-strong);
}

.form-help {
  margin: 0 0 20px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: #7a4b12;
  background: rgba(201, 137, 58, 0.12);
  font-size: 14px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.estimate-form label {
  display: grid;
  gap: 8px;
}

.estimate-form label span {
  color: var(--navy);
  font-weight: 900;
}

.estimate-form em {
  color: var(--gold);
  font-style: normal;
  font-size: 12px;
}

.estimate-form input,
.estimate-form select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #dce4ef;
  border-radius: var(--radius-sm);
  color: var(--text);
  background: #fff;
}

.estimate-form input::placeholder {
  color: #9aa4b2;
}

.agree {
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.agree input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.agree b {
  color: var(--navy);
}

.form-submit {
  width: 100%;
  margin-top: 22px;
  border: 0;
  cursor: default;
}

/* Footer */
.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background: var(--footer);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding: 58px 0;
}

.footer-brand p {
  margin: 48px 0 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-info,
.footer-contact {
  display: grid;
  gap: 8px;
  font-style: normal;
  font-size: 14px;
}

.footer-info strong,
.footer-contact strong {
  margin-bottom: 8px;
  color: #fff;
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font-size: 13px;
  font-weight: 800;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.brand-logo-img {
  display: block;
  height: auto;
}

.site-header .brand-logo-img {
  width: 185px;
}

.footer-brand-logo .brand-logo-img {
  width: 145px;
  filter: grayscale(100%) brightness(1.15) contrast(0.95);
  opacity: 0.82;
}

@media (max-width: 768px) {
  .site-header .brand-logo-img {
    width: 150px;
  }

  .footer-brand-logo .brand-logo-img {
    width: 130px;
  }
}

/* Responsive */
@media (max-width: 1180px) {
  .promise-grid,
  .case-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .manufacture-inner,
  .estimate-inner {
    grid-template-columns: 1fr;
  }

  .process-main {
    min-height: 260px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .section,
  .manufacture,
  .estimate {
    padding: 76px 0;
  }

  .floating-menu {
    display: none;
  }

  .mobile-cta {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(3, 17, 38, 0.86);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
  }

  .mobile-cta a {
    display: grid;
    place-items: center;
    min-height: 46px;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    font-weight: 900;
  }

  .mobile-cta a:first-child {
    background: linear-gradient(135deg, var(--gold), #a86420);
  }

  .hero,
  .hero-inner {
    min-height: 620px;
  }

  .hero-copy {
    margin-top: 72px;
  }

  .hero-summary {
    font-size: 16px;
  }

  .building-grid {
    left: 18%;
    opacity: 0.36;
  }

  .section-heading,
  .summary-inner {
    grid-template-columns: 1fr;
    display: grid;
    gap: 14px;
  }

  .section-heading.centered {
    text-align: left;
    justify-content: flex-start;
  }

  .process-thumbs,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom .container {
    flex-direction: column;
    padding-bottom: 96px;
  }
}

@media (max-width: 560px) {
  body {
    word-break: normal;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero,
  .hero-inner {
    min-height: 660px;
  }

  .brand-logo {
    font-size: 30px;
  }

  .hero-copy {
    margin-top: 64px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

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

  .promise-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .promise-card {
    min-height: auto;
  }

  .estimate-form,
  .summary-inner {
    padding: 24px;
    border-radius: var(--radius-lg);
  }

  .faq-item {
    padding: 22px;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


/* v1.3 update: nationwide consultation text is handled in visible HTML and JSON-LD. */


.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 14px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status[data-status="success"] {
  color: #2f9e44;
}

.form-status[data-status="error"] {
  color: #e03131;
}

.form-status[data-status="loading"] {
  color: #c99a2e;
}

.form-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

/* 자세히 보기 버튼 스타일 초기화 */
.btn-privacy-open {
  background: none;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

/* 모달 기본 레이아웃 (기본 상태: 숨김) */
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000; /* floating-menu보다 높게 설정 */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* 모달 활성화 상태 */
.privacy-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* 배경 어둡게 처리 */
.privacy-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* 팝업 콘텐츠 박스 */
.privacy-modal-content {
  position: relative;
  background-color: #ffffff;
  width: 90%;
  max-width: 550px;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-slide 0.3s ease;
  color: #333333;
}

@keyframes modal-slide {
  from { transform: translateY(20px); }
  to { transform: translateY(0); }
}

/* 모달 헤더 */
.privacy-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid #eeeeee;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.privacy-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #111111;
}

.btn-privacy-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #999999;
  cursor: pointer;
  padding: 0 5px;
}
.btn-privacy-close:hover { color: #111111; }

/* 모달 본문 (개인정보 관련 텍스트) */
.privacy-modal-body {
  padding: 20px;
  overflow-y: auto;
  font-size: 0.9rem;
  line-height: 1.6;
}

.privacy-modal-body p { margin-top: 0; margin-bottom: 15px; }

/* 표 디자인 */
.privacy-modal-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
  font-size: 0.85rem;
}

.privacy-modal-body th, 
.privacy-modal-body td {
  border: 1px solid #dddddd;
  padding: 10px;
  text-align: left;
}

.privacy-modal-body th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.privacy-modal-body ul {
  margin: 0;
  padding-left: 20px;
  color: #666666;
  font-size: 0.85rem;
}
.privacy-modal-body li { margin-bottom: 5px; }

.process-gallery {
  width: 100%;
}

.process-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.process-main img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.process-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.process-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  appearance: none;
  box-shadow: none;
}

.process-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.process-thumb:hover img {
  transform: scale(1.04);
}

.process-thumb.is-active {
  border-color: rgba(255, 181, 88, 0.95);
  box-shadow: 0 0 0 3px rgba(255, 181, 88, 0.22);
}

.process-thumb.is-active img {
  filter: brightness(1.08);
}

/* 기존 placeholder / figcaption 스타일 제거용 강제 오버라이드 */
.process-gallery figure,
.process-gallery figcaption {
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
}

.process-gallery .placeholder {
  padding: 0 !important;
  background: transparent !important;
}

.process-gallery .placeholder figcaption {
  width: 100%;
  height: 100%;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .process-main {
    border-radius: 20px;
  }

  .process-thumbs {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
  }

  .process-thumb {
    border-radius: 10px;
  }
}

/* ==============================
   Hero Background Carousel
============================== */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-visual.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #061427;
}

/* 개별 슬라이드 */
.hero-slide {
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  animation: heroFade 24s infinite ease-in-out;
  will-change: opacity, transform;
}

/* 4장 순차 재생 */
.hero-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-slide:nth-child(2) {
  animation-delay: 6s;
}

.hero-slide:nth-child(3) {
  animation-delay: 12s;
}

.hero-slide:nth-child(4) {
  animation-delay: 18s;
}

/* 기존 히어로 콘텐츠를 배경 위로 */
.hero-inner {
  position: relative;
  z-index: 2;
}

/* 텍스트 가독성용 오버레이 */
.hero-visual.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(
      90deg,
      rgba(2, 15, 32, 0.9) 0%,
      rgba(2, 15, 32, 0.78) 28%,
      rgba(2, 15, 32, 0.42) 54%,
      rgba(2, 15, 32, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.04) 45%,
      rgba(0, 0, 0, 0.35) 100%
    );
  pointer-events: none;
}

/* 약한 썬팅/차광 느낌 */
.hero-visual.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    radial-gradient(
      circle at 78% 35%,
      rgba(255, 188, 104, 0.16) 0%,
      rgba(255, 188, 104, 0.04) 30%,
      transparent 58%
    ),
    rgba(5, 30, 55, 0.12);
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* 슬라이드 페이드 애니메이션 */
@keyframes heroFade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  5% {
    opacity: 1;
    transform: scale(1.02);
  }

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

  30% {
    opacity: 0;
    transform: scale(1);
  }

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

/* 기존 장식 배경 요소 비활성화 */
.building-grid,
.building-line {
  display: none !important;
}

/* 모바일에서는 중앙보다 살짝 오른쪽 배경을 살림 */
@media (max-width: 768px) {
  .hero-slide {
    background-position: 62% center;
  }

  .hero-visual.hero-carousel::before {
    background:
      linear-gradient(
        90deg,
        rgba(2, 15, 32, 0.94) 0%,
        rgba(2, 15, 32, 0.82) 48%,
        rgba(2, 15, 32, 0.42) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.18) 0%,
        rgba(0, 0, 0, 0.36) 100%
      );
  }
}

/* 움직임 최소화 설정 사용자는 첫 장만 고정 */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    opacity: 0;
    transform: none;
  }

  .hero-slide:first-child {
    opacity: 1;
  }
}

/* ==============================
   Hero Click Layer Fix
============================== */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* 배경/슬라이드/오버레이는 클릭을 먹지 않게 처리 */
.hero-visual,
.hero-visual::before,
.hero-visual::after,
.hero-carousel,
.hero-carousel::before,
.hero-carousel::after,
.hero-slide,
.building-grid,
.building-line {
  pointer-events: none !important;
}

/* 실제 콘텐츠는 항상 배경 위로 */
.hero-inner {
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.site-header,
.hero-copy,
.hero-actions,
.hero-actions .btn {
  position: relative;
  z-index: 30;
  pointer-events: auto;
}

/* 모바일 하단 고정 CTA가 히어로 버튼 클릭을 방해하지 않도록 */
.mobile-cta {
  z-index: 100;
}

.floating-menu {
  z-index: 110;
}