/* =============================================
   ECO PAINT - エコペイント
   Natural Paint Company Website
   Color: Cream (#FFFFF0) + Leaf Green (#4CAF50)
          + Wood Brown (#795548)
   ============================================= */

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

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

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

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

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

ul {
  list-style: none;
}

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

.section {
  padding: 100px 0;
}

.sp-only {
  display: none;
}

/* ========== SAMPLE BANNER ========== */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: linear-gradient(90deg, #4CAF50, #66BB6A);
  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;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background: rgba(255, 255, 240, 0.97);
  border-bottom: 1px solid rgba(76, 175, 80, 0.12);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

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

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

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #2E7D32;
  letter-spacing: 0.05em;
}

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

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

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

.nav-desktop a:hover {
  color: #2E7D32;
}

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

.nav-cta {
  background: #4CAF50 !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
}

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

.nav-cta:hover {
  background: #43A047 !important;
  opacity: 0.9;
}

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

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #3E2723;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.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 NAV ========== */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: #FFFFF0;
  z-index: 1050;
  padding: 100px 32px 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav-inner {
  /* wrapper */
}

.mobile-nav-link {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: #3E2723;
  border-bottom: 1px solid rgba(76, 175, 80, 0.1);
  transition: color 0.3s;
}

.mobile-nav-link:hover {
  color: #4CAF50;
}

.mobile-nav-link.cta {
  color: #4CAF50;
  font-weight: 700;
  border-bottom: none;
  margin-top: 12px;
}

.mobile-nav-info {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(76, 175, 80, 0.15);
}

.mobile-nav-phone {
  font-size: 22px;
  font-weight: 700;
  color: #2E7D32;
}

.mobile-nav-hours {
  font-size: 13px;
  color: #795548;
  margin-top: 4px;
}

/* Mobile Nav Overlay */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.mobile-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 106px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s linear;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(46, 125, 50, 0.55) 0%,
    rgba(62, 39, 35, 0.5) 100%
  );
}

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

.hero-sub {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
  opacity: 0.9;
}

.hero-sub::before,
.hero-sub::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  vertical-align: middle;
  margin: 0 16px;
}

.hero-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-desc {
  font-size: clamp(14px, 2vw, 17px);
  line-height: 2;
  opacity: 0.92;
  margin-bottom: 40px;
  font-weight: 300;
}

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

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.04em;
  font-family: inherit;
}

.btn-primary {
  background: #4CAF50;
  color: #fff;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
  background: #43A047;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.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);
  border-color: #fff;
}

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

/* ========== HERO SCROLL INDICATOR ========== */
.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-align: center;
  opacity: 0.7;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.5);
  margin: 8px auto 0;
  position: relative;
  overflow: hidden;
}

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

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

/* ========== NUMBERS STRIP ========== */
.numbers {
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  padding: 60px 0;
}

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

.number-item {
  padding: 20px;
}

.number-value {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
}

.number-unit {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  margin-left: 2px;
}

.number-label {
  font-size: 13px;
  margin-top: 8px;
  opacity: 0.85;
  font-weight: 400;
}

/* ========== SECTION COMMON ========== */
.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #4CAF50;
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  color: #2E7D32;
  line-height: 1.4;
}

.section-desc {
  text-align: center;
  color: #5D4037;
  font-size: 15px;
  line-height: 2;
  margin-bottom: 50px;
}

/* ========== ABOUT ========== */
.about {
  background: #FFFFF0;
}

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

.about-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 240, 0.95);
  border-radius: 8px;
  padding: 12px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
}

.about-image-badge span {
  display: block;
  font-size: 11px;
  color: #795548;
  letter-spacing: 0.1em;
}

.about-image-badge strong {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: #2E7D32;
  line-height: 1.2;
}

.about-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: #2E7D32;
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-text p {
  font-size: 15px;
  color: #5D4037;
  line-height: 2;
  margin-bottom: 16px;
}

.about-signature {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(76, 175, 80, 0.15);
}

.about-signature span {
  font-size: 13px;
  color: #795548;
  font-weight: 500;
}

/* ========== NATURAL PAINTS ========== */
.paints {
  background: #f8f5f0;
}

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

.paint-card {
  background: #FFFFF0;
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  border: 1px solid rgba(76, 175, 80, 0.1);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.paint-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4CAF50, #81C784);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.paint-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.12);
}

.paint-card:hover::before {
  transform: scaleX(1);
}

.paint-icon {
  margin-bottom: 20px;
  display: inline-block;
}

.paint-name {
  font-size: 18px;
  font-weight: 700;
  color: #2E7D32;
  margin-bottom: 12px;
}

.paint-desc {
  font-size: 14px;
  color: #5D4037;
  line-height: 1.8;
  margin-bottom: 16px;
}

.paint-features {
  text-align: left;
  padding-left: 4px;
}

.paint-features li {
  font-size: 13px;
  color: #795548;
  padding: 4px 0 4px 20px;
  position: relative;
}

.paint-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 12px;
  height: 6px;
  border-left: 2px solid #4CAF50;
  border-bottom: 2px solid #4CAF50;
  transform: rotate(-45deg);
}

/* ========== SERVICES ========== */
.services {
  background: #FFFFF0;
}

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

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 40px 32px;
  border: 1px solid rgba(76, 175, 80, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4CAF50, #A5D6A7);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.1);
  border-color: rgba(76, 175, 80, 0.2);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-number {
  font-size: 48px;
  font-weight: 900;
  color: #4CAF50;
  opacity: 0.12;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
}

.service-icon {
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #2E7D32;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: #5D4037;
  line-height: 1.9;
  margin-bottom: 16px;
}

.service-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.service-tags li {
  font-size: 12px;
  background: rgba(76, 175, 80, 0.08);
  color: #2E7D32;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.service-tags li:hover {
  background: rgba(76, 175, 80, 0.15);
}

/* ========== SAFETY / VOC ZERO ========== */
.safety {
  background: linear-gradient(180deg, #f8f5f0 0%, #FFFFF0 100%);
}

.safety-comparison {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: stretch;
  margin-bottom: 50px;
}

.safety-col {
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
}

.safety-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #eee;
}

.safety-col-header h3 {
  font-size: 17px;
  font-weight: 700;
}

/* Bad column (general paint) */
.safety-bad {
  border: 2px solid rgba(229, 57, 53, 0.15);
}

.safety-bad .safety-col-header {
  border-bottom-color: rgba(229, 57, 53, 0.15);
}

.safety-bad .safety-col-header h3 {
  color: #C62828;
}

.safety-bad li {
  color: #5D4037;
  font-size: 14px;
  padding: 8px 0 8px 24px;
  position: relative;
  line-height: 1.7;
}

.safety-bad li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(229, 57, 53, 0.2);
}

/* Good column (eco paint) */
.safety-good {
  border: 2px solid rgba(76, 175, 80, 0.2);
  background: linear-gradient(
    135deg,
    rgba(76, 175, 80, 0.03),
    rgba(255, 255, 240, 1)
  );
}

.safety-good .safety-col-header {
  border-bottom-color: rgba(76, 175, 80, 0.2);
}

.safety-good .safety-col-header h3 {
  color: #2E7D32;
}

.safety-good li {
  color: #3E2723;
  font-size: 14px;
  padding: 8px 0 8px 24px;
  position: relative;
  line-height: 1.7;
}

.safety-good li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 12px;
  width: 12px;
  height: 6px;
  border-left: 2px solid #4CAF50;
  border-bottom: 2px solid #4CAF50;
  transform: rotate(-45deg);
}

.safety-good li strong {
  color: #2E7D32;
  font-size: 18px;
}

/* VS Divider */
.safety-vs {
  display: flex;
  align-items: center;
  justify-content: center;
}

.safety-vs span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

/* Certifications */
.safety-certifications {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #2E7D32;
}

/* ========== WORKS ========== */
.works {
  background: #FFFFF0;
}

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

.work-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(76, 175, 80, 0.08);
  transition: all 0.4s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(76, 175, 80, 0.12);
}

.work-image {
  position: relative;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-card:hover .work-image img {
  transform: scale(1.05);
}

.work-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(76, 175, 80, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.work-info {
  padding: 24px;
}

.work-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: #2E7D32;
  margin-bottom: 10px;
  line-height: 1.5;
}

.work-info p {
  font-size: 13px;
  color: #5D4037;
  line-height: 1.8;
  margin-bottom: 14px;
}

.work-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.work-meta span {
  font-size: 12px;
  color: #795548;
  padding: 3px 10px;
  background: rgba(121, 85, 72, 0.06);
  border-radius: 4px;
}

/* ========== FLOW ========== */
.flow {
  background: #f8f5f0;
}

.flow-steps {
  max-width: 700px;
  margin: 50px auto 0;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, #4CAF50, #A5D6A7);
}

.flow-step {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
  position: relative;
}

.flow-step:last-child {
  margin-bottom: 0;
}

.flow-step-num {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4CAF50, #66BB6A);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

.flow-step-content {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  flex: 1;
  border: 1px solid rgba(76, 175, 80, 0.08);
  transition: all 0.3s ease;
}

.flow-step-content:hover {
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.08);
  transform: translateX(4px);
}

.flow-step-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: #2E7D32;
  margin-bottom: 8px;
}

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

/* ========== COMPANY ========== */
.company {
  background: #FFFFF0;
}

.company-table {
  max-width: 800px;
  margin: 40px auto 0;
}

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

.company-table tr {
  border-bottom: 1px solid rgba(76, 175, 80, 0.1);
}

.company-table tr:last-child {
  border-bottom: none;
}

.company-table th {
  width: 160px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #2E7D32;
  text-align: left;
  vertical-align: top;
  background: rgba(76, 175, 80, 0.03);
}

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

/* ========== CONTACT ========== */
.contact {
  background: linear-gradient(180deg, #f8f5f0 0%, #FFFFF0 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

/* Phone Box */
.contact-phone-box {
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  color: #fff;
  margin-bottom: 28px;
}

.contact-phone-label {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 8px;
}

.contact-phone-number {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  display: block;
  letter-spacing: 0.05em;
}

.contact-phone-number:hover {
  opacity: 0.9;
}

.contact-phone-hours {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 8px;
}

/* Contact Features */
.contact-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #3E2723;
  font-weight: 500;
}

/* ========== CONTACT FORM ========== */
.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 36px;
  border: 1px solid rgba(76, 175, 80, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.form-group:last-of-type {
  margin-bottom: 24px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #FFFFF0;
  color: #3E2723;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23795548' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ========== FOOTER ========== */
.footer {
  background: #2E2E2E;
  color: #ccc;
  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.08);
}

.footer-brand .logo-text {
  color: #fff;
}

.footer-brand .logo-icon path {
  fill: #66BB6A;
}

.footer-desc {
  font-size: 13px;
  color: #999;
  margin-top: 12px;
  line-height: 1.8;
}

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

.footer-links a {
  font-size: 13px;
  color: #999;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #81C784;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  color: #777;
}

.footer-credit a {
  color: #81C784;
  text-decoration: underline;
}

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

/* ========== PROMISE ========== */
.promise {
  background: #FFFFF0;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.promise-item {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.04), rgba(255, 255, 240, 1));
  border-radius: 12px;
  border: 1px solid rgba(76, 175, 80, 0.1);
  transition: all 0.4s ease;
}

.promise-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.1);
}

.promise-num {
  font-size: 36px;
  font-weight: 900;
  color: #4CAF50;
  opacity: 0.2;
  margin-bottom: 12px;
  line-height: 1;
}

.promise-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #2E7D32;
  margin-bottom: 12px;
}

.promise-item p {
  font-size: 14px;
  color: #5D4037;
  line-height: 1.9;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, #2E7D32, #4CAF50);
  padding: 70px 0;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-banner-text h2 {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 900;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 8px;
}

.cta-banner-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.btn-white {
  background: #fff;
  color: #2E7D32;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4CAF50;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: #43A047;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* ========== 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 */
.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

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

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

/* ========== RESPONSIVE - TABLET ========== */
@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: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .services-grid {
    gap: 24px;
  }

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

  .about-grid {
    gap: 40px;
  }
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 768px) {
  .sp-only {
    display: inline;
  }

  .section {
    padding: 70px 0;
  }

  /* Header / Nav */
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
    margin-top: 106px;
  }

  .hero-title {
    font-size: clamp(24px, 7vw, 36px);
  }

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

  .hero-btns .btn {
    width: 260px;
    text-align: center;
  }

  .hero-sub::before,
  .hero-sub::after {
    width: 24px;
    margin: 0 10px;
  }

  /* Numbers */
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .numbers {
    padding: 40px 0;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Paints */
  .paints-grid {
    grid-template-columns: 1fr;
  }

  .paint-card {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }

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

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

  /* Safety */
  .safety-comparison {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .safety-vs {
    order: -1;
  }

  .safety-vs span {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .safety-bad {
    order: 0;
  }

  .safety-good {
    order: 1;
  }

  .safety-certifications {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

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

  .works-grid .work-card:last-child {
    grid-column: span 1;
    max-width: none;
  }

  /* Flow */
  .flow-steps::before {
    left: 20px;
  }

  .flow-step {
    gap: 20px;
  }

  .flow-step-num {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  .flow-step-content {
    padding: 20px;
  }

  .flow-step-content:hover {
    transform: none;
  }

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

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

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  /* Promise */
  .promise-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .promise-item {
    padding: 28px 20px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 50px 0;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }

  .cta-banner-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Footer */
  .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) {
  .hero {
    min-height: 85vh;
  }

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

  .number-item {
    padding: 12px;
  }

  .section-title {
    font-size: clamp(20px, 6vw, 28px);
  }

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

  .about-text h3 {
    font-size: 18px;
  }

  .contact-phone-number {
    font-size: 24px;
  }

  .contact-form {
    padding: 20px;
  }

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

  .footer {
    padding: 40px 0 0;
  }
}