/* ===========================
   넘버원 인테리어 필름 - style.css
=========================== */
:root {
  --color-primary: #fb8718;
  --color-primary-dark: #dc6e04;
  --color-dark: #1c2331;
  --color-navy: #14171e;
  --color-gray-bg: #f4f5f7;
  --color-sky-bg: #eef6fb;
  --color-text: #212121;
  --color-text-light: #666;
  --max-width: 1200px;
  --font-base: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 90px 24px;
}
.pc-only { display: inline; }
@media (max-width: 767px) {
  .pc-only { display: none; }
}

.section-eyebrow {
  color: var(--color-primary);
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  text-align: center;
  margin-bottom: 10px;
}
.section-eyebrow.light { color: #ffb366; }
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  margin: 0 0 20px;
  color: var(--color-text);
}
.section-title.light { color: #fff; }
.section-desc {
  text-align: center;
  color: var(--color-text-light);
  font-size: 16px;
  margin-bottom: 50px;
}
.section-desc.light { color: #cfd4dc; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}
.btn-submit {
  width: 100%;
  padding: 18px;
  font-size: 18px;
  margin-top: 10px;
}

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-no1 {
  background: var(--color-primary);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}
.logo-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--color-dark);
}
.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--color-primary); }
.header-call .call-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
}
.header-call .call-btn:hover { background: var(--color-primary-dark); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--color-dark);
}

@media (max-width: 991px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 10px 24px 20px;
    box-shadow: 0 8px 14px rgba(0,0,0,0.08);
    gap: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .header-call .call-btn span { display: none; }
  .header-call .call-btn { padding: 10px 14px; }
  .menu-toggle { display: block; }
}

/* ============ Hero ============ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,23,30,0.55) 0%, rgba(20,23,30,0.75) 60%, rgba(20,23,30,0.9) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 800px;
}
.hero-eyebrow {
  font-size: 15px;
  letter-spacing: 1px;
  color: #ffd8a8;
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-title {
  font-size: 56px;
  font-weight: 900;
  margin: 0 0 18px;
  letter-spacing: -1px;
}
.hero-slogan {
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 10px;
  color: #f1f1f1;
}
.hero-area {
  font-size: 16px;
  color: #ffd8a8;
  margin: 0 0 36px;
  font-weight: 600;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 22px;
  z-index: 2;
  animation: bounce 2s infinite;
  opacity: 0.8;
}
@keyframes bounce {
  0%,100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

@media (max-width: 767px) {
  .hero-title { font-size: 38px; }
  .hero-slogan { font-size: 16px; }
}

/* ============ About ============ */
.about-section {
  background: var(--color-gray-bg);
}
.about-lead {
  text-align: center;
  font-size: 17px;
  color: var(--color-text-light);
  max-width: 820px;
  margin: 0 auto 60px;
}
.promise-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.promise-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.25s ease;
}
.promise-card:hover { transform: translateY(-6px); }
.promise-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: rgba(251,135,24,0.12);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}
.promise-card h3 {
  font-size: 17px;
  margin: 0 0 10px;
}
.promise-card p {
  font-size: 13.5px;
  color: var(--color-text-light);
  margin: 0;
}

@media (max-width: 991px) {
  .promise-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Feature ============ */
.feature-section {
  background: var(--color-navy);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 70px;
}
.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 34px 24px;
  text-align: center;
}
.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.feature-card h3 {
  color: #fff;
  font-size: 17px;
  margin: 0 0 10px;
}
.feature-card p {
  color: #b8bec9;
  font-size: 13.5px;
  margin: 0;
}

.process-wrap {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 60px;
}
.process-title {
  text-align: center;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 40px;
}
.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.process-step {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 24px 18px;
  text-align: center;
  min-width: 140px;
}
.step-num {
  display: block;
  color: var(--color-primary);
  font-weight: 900;
  font-size: 20px;
  margin-bottom: 8px;
}
.process-step p {
  color: #e4e6ea;
  font-size: 14px;
  margin: 0;
}
.process-arrow {
  color: var(--color-primary);
  font-size: 16px;
}

@media (max-width: 991px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-arrow { display: none; }
  .process-steps { flex-direction: column; }
  .process-step { width: 100%; max-width: 320px; }
}

/* ============ Portfolio ============ */
.portfolio-section { background: #fff; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}
.service-tags span {
  background: var(--color-gray-bg);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-tags i { color: var(--color-primary); }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 70px;
}
.portfolio-item {
  margin: 0;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.portfolio-item figcaption span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #e0e0e0;
  margin-top: 4px;
}

@media (max-width: 991px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

.review-title {
  text-align: center;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 30px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--color-gray-bg);
  border-radius: 14px;
  padding: 28px 24px;
}
.review-stars { color: #ffb300; margin-bottom: 14px; font-size: 14px; }
.review-card p {
  font-size: 14px;
  color: var(--color-text);
  margin: 0 0 16px;
}
.review-who {
  font-size: 13px;
  color: var(--color-text-light);
  font-weight: 600;
}

@media (max-width: 767px) {
  .review-grid { grid-template-columns: 1fr; }
}

/* ============ FAQ ============ */
.faq-section { background: var(--color-sky-bg); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-dark);
  text-align: left;
}
.faq-question i {
  color: var(--color-primary);
  transition: transform 0.25s ease;
}
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 26px 22px;
  margin: 0;
  color: var(--color-text-light);
  font-size: 14.5px;
  line-height: 1.7;
}
.faq-item.active .faq-answer { max-height: 300px; }

/* ============ Estimate Form ============ */
.estimate-section {
  background: var(--color-dark);
}
.estimate-area-note {
  text-align: center;
  color: #ffd8a8;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 40px;
}
.estimate-area-note i { margin-right: 6px; }

.estimate-form {
  max-width: 680px;
  margin: 0 auto;
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px;
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-dark);
}
.required { color: var(--color-primary); }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="date"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-text);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.checkbox-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
}
.checkbox-item input { width: 16px; height: 16px; accent-color: var(--color-primary); flex-shrink: 0; }
.etc-input { margin-top: 4px; }
.privacy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}
.privacy-link {
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 13px;
  text-decoration: underline;
  font-weight: 600;
}
.urgent-note {
  text-align: center;
  font-size: 13.5px;
  color: var(--color-text-light);
  margin: 18px 0 0;
}
.urgent-note i { color: var(--color-primary); margin-right: 6px; }
.urgent-note a { color: var(--color-primary); font-weight: 700; }

@media (max-width: 600px) {
  .estimate-form { padding: 32px 22px; }
  .checkbox-group { grid-template-columns: repeat(2, 1fr); }
  .form-row-split { grid-template-columns: 1fr; }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--color-navy);
  color: #cfd4dc;
  padding: 50px 24px 30px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand .logo-text { color: #fff; font-size: 18px; }
.footer-call-btn {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-info p {
  font-size: 13.5px;
  margin: 0 0 8px;
  color: #aeb4bf;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  font-size: 12.5px;
  color: #828894;
}
.footer-link {
  background: none;
  border: none;
  color: #aeb4bf;
  font-size: 12.5px;
  text-decoration: underline;
  padding: 0;
}

/* ============ Modal ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  animation: modalPop 0.25s ease;
}
.modal-box-small { max-width: 380px; }
@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}
.modal-header h3 { margin: 0; font-size: 18px; }
.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #999;
}
.modal-body { padding: 24px; }
.modal-body p { font-size: 13.5px; color: var(--color-text-light); margin: 0 0 16px; line-height: 1.7; }
.modal-body.center { text-align: center; }
.success-icon {
  font-size: 54px;
  color: #2ecc71;
  margin-bottom: 16px;
}
.modal-body.center h3 { font-size: 20px; margin: 0 0 10px; }
.modal-body.center p { color: var(--color-text-light); margin-bottom: 22px; }

/* ============ Floating Buttons ============ */
.floating-btns {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  border: none;
}
.float-call { background: #2ecc71; color: #fff; }
.float-estimate { background: var(--color-primary); color: #fff; }
.float-top {
  background: #fff;
  color: var(--color-dark);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.float-top.show { opacity: 1; pointer-events: auto; }

@media (max-width: 767px) {
  .section-inner { padding: 60px 20px; }
  .section-title { font-size: 26px; }
  .float-btn { width: 46px; height: 46px; font-size: 17px; }
}
