/* ==========================================================
   FRAMEWERK - Passive House Renovation Specialist
   Design System: German precision, data-driven
   Colors: White #FFFFFF, Dark #333333, Green #4CAF50
   ========================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: #333333;
  background-color: #ffffff;
  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;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.section {
  padding: 100px 0;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #4CAF50;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 15px;
  color: #666666;
  line-height: 1.9;
  max-width: 600px;
  margin-bottom: 48px;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.sp-only {
  display: none;
}

/* ===== SAMPLE BANNER ===== */
.sample-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #1a1a1a;
  color: #ffffff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 32px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s ease;
}

.header.scrolled {
  top: 32px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

/* ===== LOGO ===== */
.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-main {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #1a1a1a;
}

.logo-sub {
  font-size: 10px;
  color: #999999;
  letter-spacing: 1px;
  margin-top: 1px;
}

/* ===== DESKTOP NAV ===== */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  font-size: 13px;
  font-weight: 500;
  color: #555555;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
  position: relative;
}

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

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

.nav-desktop a:hover {
  color: #4CAF50;
}

.nav-cta {
  background: #4CAF50;
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600;
}

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

.nav-cta:hover {
  background: #43A047;
}

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  cursor: pointer;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #333333;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

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

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

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

/* ===== MOBILE NAV ===== */
.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  z-index: 1001;
  padding: 100px 40px 40px;
  transition: right 0.4s ease;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.1);
}

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

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
}

.nav-mobile-link {
  display: block;
  font-size: 16px;
  font-weight: 500;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #333333;
  transition: color 0.3s ease;
}

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

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

/* ===== 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;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

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

.hero-label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero-desc {
  font-size: 15px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
}

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

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  cursor: pointer;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: #4CAF50;
  color: #ffffff;
  border: 2px solid #4CAF50;
}

.btn-primary:hover {
  background: #43A047;
  border-color: #43A047;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

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

.btn-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.btn-full {
  width: 100%;
}

/* ===== HERO STATS ===== */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  align-items: center;
}

.hero-stat {
  text-align: center;
}

.hero-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: #ffffff;
}

.hero-stat-unit {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #4CAF50;
  margin-left: 2px;
}

.hero-stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* ===== HERO SCROLL INDICATOR ===== */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
}

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

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

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

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

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

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.about-icon-wrap {
  width: 200px;
  height: 200px;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: all 0.4s ease;
}

.about-icon-wrap:hover {
  border-color: #4CAF50;
  box-shadow: 0 0 0 8px rgba(76, 175, 80, 0.05);
}

.about-badge {
  text-align: center;
  padding: 16px 28px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #ffffff;
}

.about-badge-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #4CAF50;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.about-badge-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333333;
  line-height: 1.5;
}

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

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.about-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.about-value:last-child {
  border-bottom: none;
}

.about-value-num {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #4CAF50;
  padding-top: 2px;
}

.about-value-text strong {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: 0.5px;
}

.about-value-text span {
  font-size: 13px;
  color: #888888;
}

/* ===== PERFORMANCE SECTION ===== */
.performance {
  background: #ffffff;
}

.chart-wrap {
  max-width: 800px;
  margin: 0 auto 32px;
  padding: 24px;
  border: 1px solid #eeeeee;
  border-radius: 8px;
  background: #fafafa;
  overflow-x: auto;
}

.perf-chart {
  width: 100%;
  height: auto;
  min-width: 600px;
}

.chart-bar {
  opacity: 0;
  animation: barGrow 0.8s forwards;
}

.perf-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 24px;
  background: #f5f9f5;
  border-radius: 6px;
  border-left: 3px solid #4CAF50;
}

.perf-note-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.perf-note p {
  font-size: 13px;
  color: #555555;
  line-height: 1.8;
}

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

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

.service-card {
  background: #ffffff;
  padding: 40px 36px;
  border-radius: 8px;
  border: 1px solid #eeeeee;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: #4CAF50;
  transition: height 0.4s ease;
}

.service-card:hover::before {
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
  border-color: #4CAF50;
}

.service-num {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #f5f5f5;
  position: absolute;
  top: 16px;
  right: 24px;
  line-height: 1;
  transition: color 0.4s ease;
}

.service-card:hover .service-num {
  color: #E8F5E9;
}

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

.service-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.service-en {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: #4CAF50;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.service-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.9;
  margin-bottom: 16px;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-list li {
  font-size: 13px;
  color: #555555;
  padding-left: 16px;
  position: relative;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4CAF50;
  opacity: 0.6;
}

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

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

.work-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eeeeee;
  transition: all 0.4s ease;
  background: #ffffff;
}

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

.work-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

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

.work-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  backdrop-filter: blur(4px);
}

.work-body {
  padding: 24px;
}

.work-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.work-location {
  font-size: 12px;
  color: #999999;
  margin-bottom: 16px;
}

.work-data {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-data-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px solid #f5f5f5;
}

.work-data-item:last-child {
  border-bottom: none;
}

.work-data-label {
  font-weight: 600;
  color: #1a1a1a;
  min-width: 48px;
}

.work-data-before {
  color: #999999;
}

.work-data-arrow {
  color: #cccccc;
  font-size: 11px;
}

.work-data-after {
  color: #4CAF50;
  font-weight: 700;
}

/* ===== MERIT SECTION ===== */
.merit {
  background: #1a1a1a;
  color: #ffffff;
}

.merit .section-label {
  color: #4CAF50;
}

.merit .section-title {
  color: #ffffff;
}

.merit .section-desc {
  color: rgba(255, 255, 255, 0.5);
}

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

.merit-card {
  text-align: center;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.4s ease;
}

.merit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(76, 175, 80, 0.3);
  transform: translateY(-4px);
}

.merit-icon-small {
  margin: 0 auto 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.1);
}

.merit-num {
  font-family: 'Inter', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}

.merit-unit {
  font-size: 20px;
  font-weight: 600;
  color: #4CAF50;
  margin-left: 2px;
}

.merit-label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 4px;
}

.merit-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

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

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

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

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

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

.flow-step-marker {
  width: 58px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.flow-step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #999999;
  transition: all 0.4s ease;
}

.flow-step:hover .flow-step-num {
  border-color: #4CAF50;
  color: #4CAF50;
  background: #f5f9f5;
  box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.08);
}

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

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

.flow-step-content p {
  font-size: 14px;
  color: #666666;
  line-height: 1.9;
}

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

.company-table-wrap {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #eeeeee;
  overflow: hidden;
}

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

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

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

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

.company-table th {
  width: 160px;
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: left;
  background: #fafafa;
  vertical-align: top;
}

.company-table td {
  padding: 18px 24px;
  font-size: 14px;
  color: #555555;
  line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background: #ffffff;
  padding-bottom: 80px;
}

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

.contact-text {
  font-size: 15px;
  color: #666666;
  line-height: 2;
  margin-bottom: 32px;
}

.contact-phone {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 20px 24px;
  background: #f5f9f5;
  border-radius: 8px;
  border: 1px solid #e8f5e9;
  transition: all 0.3s ease;
}

.contact-phone:hover {
  border-color: #4CAF50;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.1);
}

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

.contact-phone-num {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  letter-spacing: 1px;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: #fafafa;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #eeeeee;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dddddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333333;
  background: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

.form-group textarea {
  resize: vertical;
}

.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' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23999' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: #111111;
  color: #ffffff;
  padding: 60px 0 0;
}

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

.footer-brand {
  max-width: 360px;
}

.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.9;
  margin-top: 16px;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-nav-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s ease;
}

.footer-nav-col a:hover {
  color: #4CAF50;
}

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

.footer-credit a {
  color: #4CAF50;
  transition: opacity 0.3s ease;
}

.footer-credit a:hover {
  opacity: 0.7;
}

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

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

@keyframes barGrow {
  from {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
  }
  to {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: bottom;
  }
}

/* ===== SELECTION COLOR ===== */
::selection {
  background: rgba(76, 175, 80, 0.2);
  color: #1a1a1a;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f5f5f5;
}

::-webkit-scrollbar-thumb {
  background: #cccccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

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

/* ===== TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .about-values {
    align-items: center;
  }

  .about-value {
    justify-content: center;
  }

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

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

  .merit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }
}

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

  .section {
    padding: 72px 0;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    min-height: 600px;
  }

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

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-num {
    font-size: 28px;
  }

  .hero-stat-divider {
    height: 28px;
  }

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

  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .services-grid {
    gap: 20px;
  }

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

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

  .merit-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .merit-card {
    padding: 28px 16px;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 24px;
  }

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

  .footer-nav {
    gap: 40px;
  }

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

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

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

  .chart-wrap {
    padding: 16px 12px;
  }

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

  .flow-step-marker {
    width: 42px;
  }

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

  .flow-step {
    gap: 20px;
  }
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

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

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

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

  .container {
    padding: 0 16px;
  }
}