/* ==========================================================================
   赤羽ペイント - AKABANE PAINT
   Color Design & Painting Company Website
   ========================================================================== */

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

a:hover {
  opacity: 0.8;
}

ul {
  list-style: none;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Sample Banner ===== */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #E53935;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.sample-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s, top 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-en {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #333;
}

.logo-jp {
  font-size: 11px;
  color: #888;
  letter-spacing: 0.05em;
}

/* ===== Desktop Navigation ===== */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  position: relative;
  transition: color 0.3s;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E53935;
  transition: width 0.3s;
}

.nav-desktop a:hover {
  opacity: 1;
  color: #E53935;
}

.nav-desktop a:hover::after {
  width: 100%;
}

.nav-cta {
  background: #E53935;
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  opacity: 0.9 !important;
  color: #fff !important;
}

/* ===== Hamburger ===== */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Mobile Navigation ===== */
.nav-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}

.nav-mobile.open {
  opacity: 1;
  visibility: visible;
}

.nav-mobile-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nav-mobile-link {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  transition: color 0.3s;
}

.nav-mobile-link:hover {
  color: #E53935;
  opacity: 1;
}

.nav-mobile-cta {
  display: inline-block;
  background: #E53935;
  color: #fff;
  padding: 14px 40px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  margin-top: 8px;
  transition: background 0.3s;
}

.nav-mobile-cta:hover {
  background: #C62828;
  opacity: 1;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 20px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) saturate(1.2);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.15) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 700px;
}

/* Paint Chip Animation */
.hero-paint-chips {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.chip {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.6);
  animation: chipBounce 2s ease-in-out infinite;
}

.chip-red {
  background: #E53935;
  animation-delay: 0s;
}

.chip-blue {
  background: #1E88E5;
  animation-delay: 0.2s;
}

.chip-green {
  background: #43A047;
  animation-delay: 0.4s;
}

.chip-yellow {
  background: #FDD835;
  animation-delay: 0.6s;
}

@keyframes chipBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero-title {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.hero-desc {
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 36px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: #E53935;
  color: #fff;
}

.btn-primary:hover {
  background: #C62828;
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 57, 53, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  opacity: 1;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* ===== Hero Scroll Indicator ===== */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollDown 1.8s ease-in-out infinite;
}

@keyframes scrollDown {
  0% {
    top: -100%;
  }
  100% {
    top: 100%;
  }
}

/* ===== Numbers / Stats Section ===== */
.numbers {
  padding: 60px 0;
  background: #FAFAFA;
  border-bottom: 1px solid #eee;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.number-item {
  padding: 16px;
}

.number-value {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #E53935;
  line-height: 1;
}

.number-unit {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin-left: 2px;
}

.number-label {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

/* ===== Section Common Styles ===== */
.section-label {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #E53935;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-title {
  margin-bottom: 16px;
}

.section-desc {
  color: #666;
  font-size: 15px;
}

.accent-red {
  color: #E53935;
}

/* ===== About Section ===== */
.about {
  padding: 100px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-palette {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  width: 60px;
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;
}

.palette-strip {
  height: 40px;
  width: 100%;
  transition: transform 0.3s;
}

.about-palette:hover .palette-strip {
  transform: scaleX(1.1);
}

.about-icon-wrap {
  background: #FAFAFA;
  border-radius: 20px;
  padding: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s;
}

.about-icon-wrap:hover {
  transform: rotate(3deg) scale(1.02);
}

.about-icon {
  width: 160px;
  height: 160px;
}

.about-text .section-title {
  margin-top: 4px;
}

.about-lead {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-text p {
  color: #555;
  margin-bottom: 16px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag {
  display: inline-block;
  padding: 6px 16px;
  background: #FFF3E0;
  color: #E65100;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s;
}

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

/* ===== Simulation Section ===== */
.simulation {
  padding: 100px 0;
  background: linear-gradient(135deg, #FFF8E1 0%, #fff 100%);
}

.simulation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.simulation-text p {
  color: #555;
  margin-bottom: 24px;
}

.simulation-features {
  margin-bottom: 32px;
}

.simulation-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 500;
}

.simulation-features li svg {
  flex-shrink: 0;
}

/* Simulation Mockup */
.sim-mockup {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.1);
  padding: 24px;
  max-width: 420px;
  margin: 0 auto;
}

.sim-screen {
  background: #E8F5E9;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 12px;
}

.sim-house {
  margin-bottom: 20px;
}

.sim-roof {
  width: 0;
  height: 0;
  border-left: 120px solid transparent;
  border-right: 120px solid transparent;
  border-bottom: 60px solid #5D4037;
  margin: 0 auto;
  position: relative;
}

.sim-wall {
  background: #F5F5F5;
  width: 200px;
  height: 120px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  transition: background 0.5s ease;
}

.sim-window {
  background: rgba(33, 150, 243, 0.3);
  border: 2px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
}

.sim-door {
  background: #795548;
  border-radius: 2px 2px 0 0;
  grid-column: 1 / 3;
  justify-self: center;
  width: 36px;
}

.sim-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.sim-color {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.sim-color:hover,
.sim-color.active {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.sim-label {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

/* ===== Services Section ===== */
.services {
  padding: 100px 0;
  background: #fff;
}

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

.service-card {
  background: #FAFAFA;
  border-radius: 16px;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
  border: 1px solid #eee;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  border-radius: 4px 0 0 4px;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 120px;
  height: 120px;
  background: var(--accent);
  opacity: 0.03;
  border-radius: 50%;
  transition: transform 0.5s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.service-card:hover::after {
  transform: scale(2);
}

.service-num {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.15;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-icon {
  width: 100%;
  height: 100%;
}

.service-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

.service-colors {
  display: flex;
  gap: 6px;
  margin-top: 16px;
}

.service-colors span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.service-colors span:hover {
  transform: scale(1.2);
}

/* ===== Works Section ===== */
.works {
  padding: 100px 0;
  background: #F5F5F5;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.work-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s, box-shadow 0.4s;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.work-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.work-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.work-card:hover .work-img-wrap img {
  transform: scale(1.06);
}

.work-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #E53935;
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
}

.work-tag.tag-blue {
  background: #1E88E5;
}

.work-tag.tag-green {
  background: #43A047;
}

.work-info {
  padding: 24px;
}

.work-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.work-info p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 12px;
}

.work-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}

.work-colors-label {
  font-size: 12px;
  color: #999;
  margin-right: 4px;
}

.work-color-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}

.work-color-dot:hover {
  transform: scale(1.3);
}

/* ===== Color Guide Section ===== */
.color-guide {
  padding: 100px 0;
  background: #fff;
}

.color-ranking {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.color-rank-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #FAFAFA;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}

.color-rank-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.rank-num {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #E53935;
  min-width: 36px;
  text-align: center;
  line-height: 1;
}

.color-rank-item:nth-child(1) .rank-num {
  color: #E53935;
}

.color-rank-item:nth-child(2) .rank-num {
  color: #FF7043;
}

.color-rank-item:nth-child(3) .rank-num {
  color: #FFA726;
}

.color-rank-item:nth-child(4) .rank-num {
  color: #BDBDBD;
}

.color-rank-item:nth-child(5) .rank-num {
  color: #9E9E9E;
}

.rank-swatch {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.color-rank-item:hover .rank-swatch {
  transform: scale(1.1) rotate(3deg);
}

.rank-info {
  flex: 1;
}

.rank-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}

.rank-info p {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

.rank-percent {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #333;
  min-width: 56px;
  text-align: right;
}

/* ===== Flow Section ===== */
.flow {
  padding: 100px 0;
  background: #FAFAFA;
}

.flow-timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.flow-timeline::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E0E0E0;
}

.flow-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}

.flow-num {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 3px solid #E53935;
  border-radius: 50%;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #E53935;
  position: relative;
  z-index: 1;
  transition: background 0.3s, color 0.3s;
}

.flow-step:hover .flow-num {
  background: #E53935;
  color: #fff;
}

.flow-content {
  padding-top: 8px;
}

.flow-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.flow-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
}

/* ===== Company Section ===== */
.company {
  padding: 100px 0;
  background: #fff;
}

.company-table-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}

.company-table tr {
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
}

.company-table tr:hover {
  background: #FAFAFA;
}

.company-table th {
  width: 160px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  text-align: left;
  background: #FAFAFA;
  vertical-align: top;
}

.company-table td {
  padding: 18px 20px;
  font-size: 14px;
  color: #555;
}

/* ===== Contact Section ===== */
.contact {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    #FFF3E0 0%,
    #FFF8E1 50%,
    #E8F5E9 100%
  );
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-left p {
  color: #555;
  margin-bottom: 28px;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

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

.contact-phone small {
  font-size: 12px;
  color: #888;
  display: block;
}

.contact-phone strong {
  font-size: 20px;
  font-weight: 700;
  color: #E53935;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.02em;
}

/* ===== Contact Form ===== */
.contact-form {
  background: #fff;
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.required {
  font-size: 11px;
  color: #E53935;
  margin-left: 4px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #FAFAFA;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #E53935;
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

/* ===== Footer ===== */
.footer {
  background: #333;
  color: #fff;
  padding: 60px 0 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  flex-shrink: 0;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-top: 12px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
  opacity: 1;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
}

.footer-credit a:hover {
  color: #fff;
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for grid items */
.services-grid .fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.services-grid .fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.services-grid .fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

.works-grid .fade-up:nth-child(2) {
  transition-delay: 0.15s;
}

.works-grid .fade-up:nth-child(3) {
  transition-delay: 0.3s;
}

.color-ranking .fade-up:nth-child(2) {
  transition-delay: 0.08s;
}

.color-ranking .fade-up:nth-child(3) {
  transition-delay: 0.16s;
}

.color-ranking .fade-up:nth-child(4) {
  transition-delay: 0.24s;
}

.color-ranking .fade-up:nth-child(5) {
  transition-delay: 0.32s;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 1024px) {
  .about-grid,
  .simulation-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .works-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 768px) {
  .sample-banner {
    font-size: 11px;
    padding: 6px 12px;
  }

  .header {
    top: 32px;
  }

  .header-inner {
    height: 60px;
    padding: 0 16px;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 100px 16px 60px;
    min-height: 90vh;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 14px;
  }

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

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

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

  .number-value {
    font-size: 36px;
  }

  .section-title {
    font-size: 24px;
  }

  .about {
    padding: 72px 0;
  }

  .about-palette {
    width: 48px;
    left: 10px;
    top: 10px;
  }

  .palette-strip {
    height: 32px;
  }

  .about-icon-wrap {
    padding: 32px;
  }

  .about-icon {
    width: 120px;
    height: 120px;
  }

  .simulation {
    padding: 72px 0;
  }

  .simulation-grid {
    gap: 32px;
  }

  .services {
    padding: 72px 0;
  }

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

  .service-card {
    padding: 32px 24px;
  }

  .works {
    padding: 72px 0;
  }

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

  .work-img-wrap {
    height: 200px;
  }

  .color-guide {
    padding: 72px 0;
  }

  .color-rank-item {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
  }

  .rank-info {
    min-width: calc(100% - 120px);
  }

  .rank-percent {
    margin-left: auto;
  }

  .flow {
    padding: 72px 0;
  }

  .flow-timeline::before {
    left: 27px;
  }

  .flow-num {
    width: 56px;
    height: 56px;
    font-size: 16px;
  }

  .flow-content h3 {
    font-size: 16px;
  }

  .company {
    padding: 72px 0;
  }

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

  .company-table td {
    padding: 14px 12px;
    font-size: 13px;
  }

  .contact {
    padding: 72px 0;
  }

  .contact-form {
    padding: 24px;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-links {
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ===== Responsive: Small Mobile ===== */
@media (max-width: 480px) {
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }

  .number-value {
    font-size: 32px;
  }

  .hero-paint-chips .chip {
    width: 26px;
    height: 26px;
  }

  .rank-swatch {
    width: 42px;
    height: 42px;
  }

  .rank-num {
    font-size: 22px;
  }

  .rank-percent {
    font-size: 18px;
  }

  .sim-mockup {
    padding: 16px;
  }

  .sim-screen {
    padding: 16px;
  }

  .sim-roof {
    border-left-width: 80px;
    border-right-width: 80px;
    border-bottom-width: 40px;
  }

  .sim-wall {
    width: 140px;
    height: 90px;
    padding: 8px;
    gap: 6px;
  }

  .sim-color {
    width: 30px;
    height: 30px;
  }

  .service-num {
    font-size: 36px;
  }

  .contact-phone strong {
    font-size: 18px;
  }

  .flow-step {
    gap: 16px;
  }

  .flow-content p {
    font-size: 13px;
  }
}