@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

:root {
  --pump-white: #F8FAF6;
  --oil-mist: #ECE8E4;
  --metal-light: #E0E4DC;
  --deep-carbon: #282820;
  --pump-gray: #504840;
  --pressure-red: #C04030;
  --deep-auburn: #802820;
  --font-heading: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --floating-pill-height: 72px;
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--pump-white);
  color: var(--pump-gray);
  font-size: 15px;
  line-height: 1.86;
  overflow-x: hidden;
}

strong, p {
  color: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-dark {
  background-color: var(--deep-carbon);
  color: var(--pump-white);
}

.section-light {
  background-color: var(--oil-mist);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--deep-carbon);
  line-height: 0.76;
  letter-spacing: -0.012em;
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  border-radius: 28px;
  cursor: pointer;
  transition: all 0.30s ease;
  border: none;
  min-height: 56px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--pressure-red), var(--deep-auburn));
  color: #FFFFFF;
  box-shadow: 0 16px 48px rgba(192, 64, 48, 0.28);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 56px rgba(192, 64, 48, 0.36);
}

.btn-secondary {
  background: transparent;
  color: var(--deep-carbon);
  border: 1px solid var(--pressure-red);
}

.btn-secondary:hover {
  background: var(--pressure-red);
  color: #FFFFFF;
}

.floating-pill-header {
  position: fixed;
  top: 16px;
  left: 5%;
  width: 90%;
  background: rgba(248, 250, 246, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 34px;
  box-shadow: 0 14px 52px rgba(120, 80, 60, 0.12);
  z-index: 9999;
  padding: 12px 24px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: all 0.38s ease-out;
}

.floating-pill-header.scrolled {
  border-radius: 28px;
  box-shadow: 0 18px 64px rgba(120, 80, 60, 0.18);
}

.header-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.header-logo {
  width: 36px;
  height: 36px;
  color: var(--pressure-red);
}

.header-domain {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--pump-gray);
  letter-spacing: 0.08em;
}

.header-company {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  color: var(--deep-carbon);
}

.header-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 11px;
  color: var(--pump-gray);
  cursor: pointer;
  transition: all 0.28s ease;
  padding: 8px 12px;
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--pressure-red);
  background: rgba(192, 64, 48, 0.06);
  transform: scale(1.04);
}

.nav-cta {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--pressure-red), var(--deep-auburn));
  color: #FFFFFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  border-radius: 22px;
  box-shadow: 0 8px 32px rgba(192, 64, 48, 0.24);
  transition: all 0.30s ease;
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 48px rgba(192, 64, 48, 0.32);
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: rgba(248, 250, 246, 0.99);
  border: 1px solid rgba(192, 64, 48, 0.12);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 10001;
}

.mobile-menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--deep-carbon);
  transition: all 0.30s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(248, 250, 246, 0.98);
  backdrop-filter: blur(20px);
  z-index: 10000;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 100px;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.38s ease-out;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu .header-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.mobile-menu .nav-link {
  font-size: 18px;
  padding: 16px 32px;
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: var(--deep-carbon);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  align-items: center;
  padding-top: 120px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding-left: 80px;
  position: relative;
  z-index: 10;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title span {
  display: inline-block;
  animation: slideUp 0.8s var(--transition-bounce) forwards;
  opacity: 0;
  transform: translateY(60px);
}

.hero-title span:nth-child(1) { animation-delay: 0.05s; }
.hero-title span:nth-child(2) { animation-delay: 0.11s; }
.hero-title span:nth-child(3) { animation-delay: 0.165s; }
.hero-title span:nth-child(4) { animation-delay: 0.22s; }
.hero-title span:nth-child(5) { animation-delay: 0.275s; }

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 16px;
  color: var(--pump-gray);
  line-height: 1.6;
  max-width: 480px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

.hero-note {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  color: var(--deep-carbon);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-visual {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 90%;
  height: 80%;
  border: 1px solid rgba(192, 64, 48, 0.10);
  border-radius: 0;
  overflow: hidden;
  z-index: 5;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abstract-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
  filter: blur(40px);
  animation: float 18s ease-in-out infinite;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(192, 80, 60, 0.06);
  top: 10%;
  left: 20%;
  animation-delay: 0s;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(140, 100, 80, 0.04);
  top: 50%;
  right: 10%;
  animation-delay: -3s;
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: rgba(100, 140, 100, 0.035);
  bottom: 20%;
  left: 40%;
  animation-delay: -6s;
}

.blob-4 {
  width: 280px;
  height: 280px;
  background: rgba(80, 100, 140, 0.03);
  top: 30%;
  right: 30%;
  animation-delay: -9s;
}

.blob-5 {
  width: 320px;
  height: 320px;
  background: rgba(140, 80, 100, 0.028);
  bottom: 10%;
  right: 40%;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(0.9);
  }
  50% {
    transform: translate(20px, -30px) scale(1.1);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 11px;
  color: var(--pump-gray);
  letter-spacing: 0.1em;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.wireframe-section {
  background: var(--pump-white);
  border: 1px solid rgba(192, 64, 48, 0.08);
  padding: 40px;
  position: relative;
}

.wireframe-card {
  border: 1px solid rgba(192, 64, 48, 0.10);
  padding: 32px;
  transition: all 0.44s ease-out;
  background: var(--pump-white);
  cursor: pointer;
}

.wireframe-card:hover {
  border-color: var(--pressure-red);
  box-shadow: 0 8px 32px rgba(192, 64, 48, 0.12);
  z-index: 90;
}

.services-marquee {
  overflow: hidden;
  padding: 40px 0;
  background: var(--oil-mist);
}

.marquee-track {
  display: flex;
  gap: 56px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border: 1px solid rgba(192, 64, 48, 0.10);
  background: var(--pump-white);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--deep-carbon);
  transition: all 0.30s ease;
}

.marquee-item:hover {
  border-color: var(--pressure-red);
  transform: scale(1.02);
}

.node-graph {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.node-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 32px 0;
  position: relative;
}

.node-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--pressure-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
}

.node-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(192, 64, 48, 0.15);
  z-index: 1;
}

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

.node-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--deep-carbon);
  margin-bottom: 4px;
}

.node-desc {
  font-size: 14px;
  color: var(--pump-gray);
}

.node-empty {
  visibility: hidden;
}

.flex-grow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.flex-card {
  padding: 40px 32px;
  border: 1px solid rgba(192, 64, 48, 0.10);
  background: var(--pump-white);
  text-align: center;
  transition: all 0.30s ease;
  cursor: pointer;
}

.flex-card:hover {
  flex-grow: 1.25;
  border-color: var(--pressure-red);
  box-shadow: 0 12px 48px rgba(192, 64, 48, 0.16);
  z-index: 96;
  transform: scale(1.04);
}

.flex-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.flex-number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--deep-carbon);
  margin-bottom: 8px;
}

.flex-label {
  font-size: 14px;
  color: var(--pump-gray);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 16px;
}

.bento-item {
  padding: 32px;
  border: 1px solid rgba(192, 64, 48, 0.10);
  background: var(--pump-white);
  transition: all 0.30s ease;
  cursor: pointer;
}

.bento-item:hover {
  border-color: var(--pressure-red);
  border-width: 2px;
  box-shadow: 0 8px 32px rgba(192, 64, 48, 0.12);
  z-index: 96;
  transform: scale(1.02);
}

.bento-large {
  grid-column: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.bento-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.bento-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--deep-carbon);
  margin-bottom: 8px;
}

.bento-text {
  font-size: 13px;
  color: var(--pump-gray);
}

.team-hover-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.team-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(192, 64, 48, 0.10);
  background: var(--pump-white);
  cursor: pointer;
  transition: all 0.30s ease;
}

.team-item:hover,
.team-item.active {
  border-color: var(--pressure-red);
  background: rgba(192, 64, 48, 0.04);
  z-index: 96;
}

.team-item-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.team-item-info {
  flex: 1;
}

.team-item-role {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--deep-carbon);
}

.team-item-name {
  font-size: 14px;
  color: var(--pump-gray);
}

.team-photo-zone {
  height: 500px;
  border: 1px solid rgba(192, 64, 48, 0.10);
  background: var(--oil-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-photo-zone img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.team-photo-zone img.active {
  opacity: 1;
}

.team-photo-placeholder {
  font-size: 80px;
  color: rgba(192, 64, 48, 0.15);
}

.faq-accordion {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(192, 64, 48, 0.10);
  background: var(--pump-white);
  transition: all 0.30s ease;
}

.faq-item:hover {
  z-index: 96;
  border-color: var(--pressure-red);
}

.faq-question {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  gap: 16px;
}

.faq-question-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--deep-carbon);
  flex: 1;
}

.faq-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pressure-red);
  border-radius: 50%;
  font-size: 16px;
  color: var(--pressure-red);
  transition: all 0.30s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--pressure-red);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer-content {
  padding: 0 28px 24px;
  font-size: 14px;
  color: var(--pump-gray);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active {
  border-left: 3px solid var(--pressure-red);
}

.reviews-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  perspective: 1000px;
  padding: 60px 0;
}

.carousel-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.carousel-viewport::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 40px;
}

.review-card {
  flex-shrink: 0;
  width: 320px;
  padding: 32px;
  border: 1px solid rgba(192, 64, 48, 0.10);
  background: var(--pump-white);
  text-align: center;
  transition: all 0.5s ease;
  scroll-snap-align: center;
}

.review-card.active {
  transform: scale(1.15) rotateY(0deg);
  z-index: 100;
  border-color: var(--pressure-red);
  box-shadow: 0 16px 48px rgba(192, 64, 48, 0.20);
}

.review-card.side-left {
  transform: scale(0.85) rotateY(18deg) translateX(40px);
  opacity: 0.7;
  z-index: 88;
}

.review-card.side-right {
  transform: scale(0.85) rotateY(-18deg) translateX(-40px);
  opacity: 0.7;
  z-index: 88;
}

.review-card.hidden {
  opacity: 0;
  transform: scale(0.7);
  z-index: 80;
}

.review-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 2px solid var(--pressure-red);
}

.review-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--deep-carbon);
  margin-bottom: 8px;
}

.review-stars {
  color: var(--pressure-red);
  font-size: 16px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 13px;
  color: var(--pump-gray);
  line-height: 1.7;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--pressure-red);
  border-radius: 50%;
  background: var(--pump-white);
  color: var(--pressure-red);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.30s ease;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: var(--pressure-red);
  color: #FFFFFF;
}

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

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

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--pump-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-value {
  font-size: 16px;
  color: var(--deep-carbon);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 12px;
  color: var(--deep-carbon);
}

.form-input,
.form-select,
.form-textarea {
  padding: 16px 20px;
  border: 1px solid rgba(192, 64, 48, 0.25);
  background: var(--pump-white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--deep-carbon);
  border-radius: 0;
  transition: all 0.30s ease;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--pressure-red);
  box-shadow: 0 0 0 3px rgba(192, 64, 48, 0.10);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: #D04040;
}

.form-error {
  font-size: 12px;
  color: #D04040;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

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

.form-submit {
  width: 100%;
  padding: 20px;
}

.site-footer {
  background: var(--metal-light);
  border-top: 2px solid var(--pressure-red);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--deep-carbon);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--pressure-red);
}

.footer-logo svg {
  width: 28px;
  height: 28px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--deep-carbon);
}

.footer-desc {
  font-size: 13px;
  color: var(--pump-gray);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  font-size: 13px;
  color: var(--pump-gray);
  transition: color 0.30s ease;
}

.footer-link:hover {
  color: var(--pressure-red);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(192, 64, 48, 0.15);
}

.footer-copyright {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  color: var(--pump-gray);
  margin-bottom: 8px;
}

.footer-special {
  font-size: 11px;
  color: var(--pump-gray);
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 400px;
  background: var(--deep-carbon);
  color: var(--pump-white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.24);
  z-index: 9998;
  display: block;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 12px;
}

.cookie-text {
  font-size: 13px;
  color: rgba(248, 250, 246, 0.80);
  margin-bottom: 20px;
  line-height: 1.6;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-btn {
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.30s ease;
  border: none;
  width: 100%;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, var(--pressure-red), var(--deep-auburn));
  color: #FFFFFF;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 64, 48, 0.32);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--pump-white);
  border: 1px solid rgba(248, 250, 246, 0.30);
}

.cookie-btn-decline:hover {
  border-color: var(--pump-white);
}

.cookie-link {
  font-size: 11px;
  color: rgba(248, 250, 246, 0.60);
  text-decoration: underline;
  margin-top: 12px;
  display: block;
}

.cookie-link:hover {
  color: var(--pump-white);
}

.hero-inner {
  min-height: 52vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-inner-content {
  padding-left: 60px;
}

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

.service-card {
  border: 1px solid rgba(192, 64, 48, 0.10);
  background: var(--pump-white);
  padding: 32px;
  transition: all 0.30s ease;
  cursor: pointer;
}

.service-card:hover {
  border-color: var(--pressure-red);
  box-shadow: 0 8px 32px rgba(192, 64, 48, 0.12);
  z-index: 90;
  transform: translateY(-4px);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.service-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--deep-carbon);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 14px;
  color: var(--pump-gray);
  margin-bottom: 16px;
  line-height: 1.7;
}

.service-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--pressure-red);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--pressure-red);
  font-weight: 700;
  transition: gap 0.30s ease;
}

.service-link:hover {
  gap: 12px;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(192, 64, 48, 0.10);
}

.detail-gallery img:first-child {
  grid-column: span 2;
}

.detail-info h2 {
  margin-bottom: 24px;
}

.detail-info p {
  margin-bottom: 16px;
}

.detail-specs {
  margin-top: 32px;
  padding: 24px;
  background: var(--oil-mist);
  border: 1px solid rgba(192, 64, 48, 0.08);
}

.detail-specs h3 {
  font-size: 14px;
  margin-bottom: 16px;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-item {
  display: flex;
  flex-direction: row;
  gap: 12px;
  font-size: 14px;
}

.spec-label {
  color: var(--pump-gray);
  min-width: 120px;
}

.spec-value {
  color: var(--deep-carbon);
  font-weight: 500;
}

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

.portfolio-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
}

.portfolio-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(40, 40, 32, 0.90), transparent);
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.30s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.portfolio-category {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.80);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid rgba(192, 64, 48, 0.10);
  background: var(--pump-white);
  position: relative;
  transition: all 0.30s ease;
}

.process-step:hover {
  border-color: var(--pressure-red);
  z-index: 96;
  box-shadow: 0 8px 32px rgba(192, 64, 48, 0.12);
}

.process-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pressure-red);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  margin: 0 auto 16px;
}

.process-step-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--deep-carbon);
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 13px;
  color: var(--pump-gray);
}

.process-arrow {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 2px;
  background: rgba(192, 64, 48, 0.15);
  z-index: 5;
}

.process-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 8px solid rgba(192, 64, 48, 0.15);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.process-step:last-child .process-arrow {
  display: none;
}

.thank-you-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px;
}

.thank-you-icon {
  font-size: 80px;
  margin-bottom: 24px;
  color: var(--pressure-red);
}

.thank-you-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--deep-carbon);
  margin-bottom: 16px;
}

.thank-you-text {
  font-size: 16px;
  color: var(--pump-gray);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.thank-you-cta {
  display: flex;
  gap: 16px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 160px 24px 80px;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 18px;
  margin: 32px 0 16px;
}

.legal-content p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.legal-content ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.map-section {
  margin-top: 32px;
  border: 1px solid rgba(192, 64, 48, 0.10);
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 60px;
  }
  
  .hero-content {
    padding-left: 24px;
    padding-right: 24px;
    text-align: center;
    order: 2;
  }
  
  .hero-subtitle {
    max-width: 100%;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-note {
    justify-content: center;
  }
  
  .hero-visual {
    height: 50vh;
    order: 1;
  }
  
  .hero-image-frame {
    width: 100%;
    height: 100%;
  }
  
  .floating-pill-header {
    max-width: calc(100% - 32px);
  }
  
  .header-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu {
    display: flex;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .flex-grow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .bento-large,
  .bento-wide {
    grid-column: span 1;
  }
  
  .team-hover-section {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .detail-content {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .portfolio-item:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 140px 0 60px;
  }
  
  .hero-inner-content {
    padding: 0 24px;
    text-align: center;
  }
  
  h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
  
  .floating-pill-header {
    padding: 10px 16px;
    gap: 16px;
  }
  
  .header-logo {
    width: 28px;
    height: 28px;
  }
  
  .header-domain,
  .header-company {
    font-size: 10px;
  }
  
  .nav-cta {
    padding: 10px 16px;
    font-size: 9px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .flex-grow-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .reviews-carousel {
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
  }
  
  .review-card {
    width: 100%;
    max-width: 340px;
  }
  
  .review-card.active,
  .review-card.side-left,
  .review-card.side-right {
    transform: scale(1);
    opacity: 1;
    z-index: 100;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner {
    left: 16px;
    right: 16px;
    max-width: none;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-content {
    padding: 0 16px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .cookie-banner {
    bottom: 16px;
  }
}