/* ========================================
   ROYAL PAINT - Luxury Painting Company
   ======================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: #2A2A2A;
  background: #FAF8F2;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; border: none; outline: none; background: none; }

/* ---------- VARIABLES ---------- */
:root {
  --black: #0A0A0A;
  --gold: #C9A84C;
  --gold-light: #D4B968;
  --gold-dark: #A88A3A;
  --cream: #FAF8F2;
  --cream-dark: #F0ECE2;
  --text: #2A2A2A;
  --text-light: #6B6B6B;
  --text-muted: #999;
  --white: #FFFFFF;
  --section-padding: 120px;
  --container: 1200px;
}

/* ---------- UTILITY ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sp-only { display: none; }
.pc-only { display: inline; }
@media (max-width: 768px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

/* ---------- SAMPLE BANNER ---------- */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background: var(--gold);
  color: var(--black);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  letter-spacing: 0.05em;
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
}
.header.scrolled {
  top: 36px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0 24px;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.header.scrolled .header-inner { height: 64px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-en {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: 0.15em;
  color: var(--gold);
  line-height: 1.2;
}
.logo-jp {
  font-family: 'Shippori Mincho', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  opacity: 0.7;
  line-height: 1.4;
}

/* Desktop Nav */
.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-desktop a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--white);
  opacity: 0.8;
  position: relative;
  padding: 4px 0;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-desktop a:hover { opacity: 1; }
.nav-desktop a:hover::after { width: 100%; }
.nav-cta.nav-cta {
  background: var(--gold);
  color: var(--black);
  padding: 10px 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 1;
}
.nav-cta.nav-cta::after { display: none; }
.nav-cta.nav-cta:hover { background: var(--gold-light); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 1100;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  transition: all 0.3s;
  margin: 3px 0;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}

/* ---------- MOBILE NAV ---------- */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: rgba(10, 10, 10, 0.98);
  z-index: 1050;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav.active { right: 0; }
.mobile-nav-inner { text-align: center; }
.mobile-nav-logo { margin-bottom: 48px; }
.mobile-nav-logo .logo-en {
  font-size: 28px;
  letter-spacing: 0.2em;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 24px; margin-bottom: 48px; }
.mobile-nav-links a {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.1em;
  opacity: 0.8;
  transition: all 0.3s;
}
.mobile-nav-links a:hover { opacity: 1; color: var(--gold); }
.mobile-nav-info { opacity: 0.5; }
.mobile-nav-phone {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.mobile-nav-hours { font-size: 12px; color: var(--white); margin-top: 4px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.6) 0%,
    rgba(10, 10, 10, 0.4) 40%,
    rgba(10, 10, 10, 0.7) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  margin-top: 36px;
}
.hero-badge {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-title {
  margin-bottom: 32px;
}
.hero-title-main {
  display: block;
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.15em;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-title-sub {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-top: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}
.hero-desc {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 2;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 1.1s forwards;
}
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 0.8s 1.5s forwards;
}
.hero-scroll span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  writing-mode: vertical-rl;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: var(--gold);
  animation: scrollLine 2s infinite;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 16px 40px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-full { width: 100%; text-align: center; }

/* ---------- SECTIONS ---------- */
.section { padding: var(--section-padding) 0; }
.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Shippori Mincho', serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.1em;
  color: var(--black);
  margin-bottom: 24px;
  line-height: 1.5;
}
.section-desc {
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 64px;
}

/* ---------- FADE ANIMATION ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- PHILOSOPHY ---------- */
.philosophy { background: var(--black); padding: var(--section-padding) 0; }
.philosophy .section-label { color: var(--gold); }
.philosophy .section-title { color: var(--white); }

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 64px;
}
.philosophy-visual { text-align: center; }
.philosophy-icon { margin-bottom: 40px; }
.philosophy-icon svg { margin: 0 auto; }
.philosophy-quote {
  font-family: 'Shippori Mincho', serif;
  font-size: 20px;
  color: var(--white);
  line-height: 2;
  letter-spacing: 0.08em;
}
.philosophy-quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  color: var(--gold);
  line-height: 0.5;
  vertical-align: -0.1em;
}
.philosophy-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 2;
}
.philosophy-lead {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px !important;
  color: var(--white) !important;
  letter-spacing: 0.08em;
  line-height: 1.8 !important;
  margin-bottom: 32px !important;
}
.philosophy-values {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.philosophy-value {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}
.philosophy-value-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.philosophy-value-text {
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.08em;
}

/* ---------- PAINTS ---------- */
.paints { background: var(--cream); }
.paints-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.paint-card {
  background: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.15);
  transition: all 0.4s;
}
.paint-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(10, 10, 10, 0.08);
  border-color: var(--gold);
}
.paint-card-header {
  padding: 32px 24px 24px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.paint-card-country {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.paint-card-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.05em;
  line-height: 1.3;
}
.paint-card-brand-jp {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  display: block;
  margin-top: 4px;
}
.paint-card-body { padding: 24px; }
.paint-card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 20px;
}
.paint-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.paint-card-features span {
  font-size: 11px;
  padding: 4px 12px;
  background: var(--cream);
  color: var(--text);
  letter-spacing: 0.05em;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

/* ---------- SERVICES ---------- */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.service-card {
  padding: 48px 40px;
  background: var(--cream);
  border: 1px solid rgba(201, 168, 76, 0.1);
  position: relative;
  transition: all 0.4s;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(10, 10, 10, 0.06);
}
.service-card-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 16px;
}
.service-card-icon { margin-bottom: 20px; }
.service-card-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.service-card-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 24px;
}
.service-card-list li {
  font-size: 13px;
  color: var(--text);
  padding: 8px 0;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  padding-left: 20px;
  position: relative;
}
.service-card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ---------- WORKS ---------- */
.works { background: var(--black); }
.works .section-label { color: var(--gold); }
.works .section-title { color: var(--white); }
.works .section-desc { color: rgba(255, 255, 255, 0.5); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.work-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.1);
  overflow: hidden;
  transition: all 0.4s;
}
.work-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
}
.work-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.work-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.work-card:hover .work-card-img img { transform: scale(1.05); }
.work-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(10, 10, 10, 0.8));
}
.work-card-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(10, 10, 10, 0.6);
  padding: 4px 12px;
  border: 1px solid rgba(201, 168, 76, 0.3);
}
.work-card-body { padding: 24px; }
.work-card-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.work-card-meta {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  opacity: 0.7;
}
.work-card-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.9;
}

/* ---------- NUMBERS ---------- */
.numbers { background: var(--cream); }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.number-card {
  text-align: center;
  padding: 48px 24px;
  background: var(--white);
  border: 1px solid rgba(201, 168, 76, 0.15);
}
.number-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.number-card-unit {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 400;
  margin-left: 4px;
}
.number-card-label {
  font-size: 14px;
  color: var(--black);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  font-weight: 500;
}
.number-card-sub {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---------- FLOW ---------- */
.flow { background: var(--white); }
.flow-timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.flow-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--gold), rgba(201, 168, 76, 0.1));
}
.flow-step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  position: relative;
}
.flow-step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--gold);
  background: var(--white);
  border: 1px solid var(--gold);
  position: relative;
  z-index: 1;
}
.flow-step-content { flex: 1; padding-top: 8px; }
.flow-step-title {
  font-family: 'Shippori Mincho', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.flow-step-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.9;
}

/* ---------- COMPANY ---------- */
.company { background: var(--cream); }
.company-table-wrap {
  max-width: 800px;
  margin: 48px auto 0;
}
.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table th,
.company-table td {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  font-size: 14px;
  text-align: left;
  vertical-align: top;
}
.company-table th {
  font-family: 'Shippori Mincho', serif;
  font-weight: 600;
  color: var(--black);
  width: 160px;
  letter-spacing: 0.08em;
  background: rgba(201, 168, 76, 0.05);
}
.company-table td {
  color: var(--text-light);
  line-height: 1.8;
}

/* ---------- CONTACT ---------- */
.contact { background: var(--black); padding: var(--section-padding) 0; }
.contact .section-label { color: var(--gold); }
.contact .section-title { color: var(--white); }
.contact .section-desc { color: rgba(255, 255, 255, 0.5); }

.contact-grid {
  max-width: 800px;
  margin: 0 auto;
}
.contact-phone {
  text-align: center;
  padding: 48px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  margin-bottom: 48px;
}
.contact-phone-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.contact-phone-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 8px;
}
.contact-phone-number:hover { color: var(--gold-light); }
.contact-phone-hours {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
}

.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group label {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.required {
  font-size: 10px;
  color: var(--gold);
  margin-left: 8px;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 14px;
  transition: border-color 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.form-group select { color: rgba(255, 255, 255, 0.6); }
.form-group select option { background: var(--black); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201, 168, 76, 0.1);
  padding: 64px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-en { font-size: 22px; }
.footer-logo .logo-jp { display: block; margin-top: 4px; }
.footer-brand-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}
.footer-nav a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.05em;
}
.footer-credit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}
.footer-credit a {
  color: var(--gold);
  opacity: 0.7;
}
.footer-credit a:hover { opacity: 1; }

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .paints-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid .work-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  :root { --section-padding: 80px; }

  .header { padding: 0 16px; }
  .header-inner { height: 64px; }
  .logo-icon { width: 32px; height: 32px; }
  .logo-en { font-size: 16px; }

  .hero { min-height: 600px; }
  .hero-desc br { display: none; }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .philosophy-lead br { display: none; }

  .paints-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 36px 28px; }

  .works-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .works-grid .work-card:last-child { max-width: 100%; }

  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .number-card { padding: 32px 16px; }
  .number-card-value { font-size: 40px; }

  .flow-timeline::before { left: 20px; }
  .flow-step { gap: 20px; padding: 24px 0; }
  .flow-step-num { width: 40px; height: 40px; font-size: 14px; }

  .company-table th { width: 120px; padding: 16px 12px; font-size: 13px; }
  .company-table td { padding: 16px 12px; font-size: 13px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-phone { padding: 32px 24px; }
  .contact-phone-number { font-size: 28px; }

  .footer-top { flex-direction: column; gap: 32px; }
  .footer-nav { gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .btn { padding: 14px 32px; font-size: 13px; }
}

@media (max-width: 480px) {
  :root { --section-padding: 64px; }
  .sample-banner { font-size: 11px; padding: 6px 12px; }
  .header { top: 30px; }
  .header.scrolled { top: 30px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .company-table th,
  .company-table td { display: block; width: 100%; }
  .company-table th { border-bottom: none; padding-bottom: 4px; }
  .company-table td { padding-top: 4px; }
}

/* ========================================
   ADDITIONAL ENHANCEMENTS
   ======================================== */

/* ---------- Gold Decorative Line ---------- */
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 20px auto 0;
}

/* ---------- Paint Card Hover States ---------- */
.paint-card-header {
  position: relative;
  overflow: hidden;
}
.paint-card-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.paint-card:hover .paint-card-header::after {
  width: 100%;
}

/* ---------- Service Card Number Hover ---------- */
.service-card:hover .service-card-num {
  opacity: 0.6;
  transition: opacity 0.3s;
}

/* ---------- Work Card Image Overlay Gradient ---------- */
.work-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(10, 10, 10, 0.4) 100%
  );
  z-index: 1;
  pointer-events: none;
}
.work-card-overlay {
  z-index: 2;
}

/* ---------- Number Card Decoration ---------- */
.number-card {
  position: relative;
  overflow: hidden;
}
.number-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gold);
}

/* ---------- Flow Step Connector Dots ---------- */
.flow-step::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  width: 1px;
  height: 100%;
  background: transparent;
}

/* ---------- Contact Form Focus Ring ---------- */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* ---------- Button Ripple Effect ---------- */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:active::after {
  width: 300px;
  height: 300px;
}

/* ---------- Selection Color ---------- */
::selection {
  background: var(--gold);
  color: var(--black);
}
::-moz-selection {
  background: var(--gold);
  color: var(--black);
}

/* ---------- Scrollbar Styling ---------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* ---------- Loading State ---------- */
.hero-bg img {
  transition: opacity 0.6s;
}

/* ---------- Decorative Corner for Company Table ---------- */
.company-table-wrap {
  position: relative;
  padding: 40px;
  border: 1px solid rgba(201, 168, 76, 0.15);
  background: var(--white);
}
.company-table-wrap::before,
.company-table-wrap::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold);
  border-style: solid;
}
.company-table-wrap::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}
.company-table-wrap::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

/* ---------- Philosophy Icon Animation ---------- */
.philosophy-icon svg circle {
  animation: pulseCircle 4s infinite ease-in-out;
}
.philosophy-icon svg circle:nth-child(1) { animation-delay: 0s; }
.philosophy-icon svg circle:nth-child(2) { animation-delay: 0.5s; }
.philosophy-icon svg circle:nth-child(3) { animation-delay: 1s; }

@keyframes pulseCircle {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* ---------- Gold Link Hover for Footer ---------- */
.footer-nav a {
  position: relative;
}
.footer-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.footer-nav a:hover::after {
  width: 100%;
}

/* ---------- Contact Phone Hover Glow ---------- */
.contact-phone {
  transition: all 0.4s;
}
.contact-phone:hover {
  border-color: var(--gold);
  box-shadow: 0 0 40px rgba(201, 168, 76, 0.08);
}

/* ---------- Hero Badge Decoration ---------- */
.hero-badge::before,
.hero-badge::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin: 0 12px;
  opacity: 0.5;
}

/* ---------- Print Styles ---------- */
@media print {
  .sample-banner,
  .header,
  .mobile-nav,
  .hero-scroll,
  .contact-form { display: none; }
  .section { padding: 40px 0; }
  body { background: white; color: black; }
  .philosophy,
  .works,
  .contact { background: white; }
  .philosophy .section-title,
  .works .section-title,
  .contact .section-title { color: black; }
}
