/* ============================================
   赤羽設備工業 - Style
   Color: Dark Charcoal #1A1A1A + Red #D32F2F
   ============================================ */

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

:root {
  --red: #D32F2F;
  --red-dark: #B71C1C;
  --red-light: #EF5350;
  --dark: #1A1A1A;
  --dark-light: #2A2A2A;
  --gray: #F5F5F5;
  --gray-mid: #E0E0E0;
  --gray-text: #757575;
  --white: #FFFFFF;
  --font: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.18);
  --radius: 6px;
}

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

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.accent {
  color: var(--red);
}

/* --- Sample Banner --- */
.sample-banner {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1001;
}

.sample-banner a {
  color: var(--white);
  text-decoration: underline;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  margin-top: 37px;
}

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

.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;
  font-weight: 900;
  font-size: 18px;
  color: var(--white);
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--red);
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
  border-radius: 4px;
  letter-spacing: -0.05em;
}

.logo-text {
  letter-spacing: 0.08em;
}

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

.nav-desktop a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

.nav-desktop a:hover {
  color: var(--white);
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

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

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700 !important;
}

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

.nav-cta:hover {
  background: var(--red-dark) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}

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

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

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

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(26, 26, 26, 0.98);
  z-index: 999;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.mobile-nav-inner {
  text-align: center;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}

.mobile-nav a {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mobile-nav a:hover {
  color: var(--red);
}

.mobile-nav-phone {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 32px;
}

.mobile-nav-phone-label {
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.mobile-nav-phone-number {
  color: var(--white);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  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;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.92) 0%,
    rgba(26, 26, 26, 0.75) 50%,
    rgba(26, 26, 26, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 32px;
  animation: pulse-badge 2s infinite;
}

.badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--white);
  color: var(--red);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(211, 47, 47, 0); }
}

.hero-title {
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.hero-title-accent {
  display: block;
  font-size: clamp(42px, 8vw, 80px);
  font-weight: 900;
  color: var(--red);
  line-height: 1.1;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(14px, 2vw, 18px);
  line-height: 1.9;
  margin-bottom: 40px;
}

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

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-indicator span {
  display: block;
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scroll-line 1.8s infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-emergency {
  background: var(--red);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.btn-emergency:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.35);
}

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

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-icon {
  font-size: 20px;
}

.btn-large {
  padding: 20px 48px;
  font-size: 22px;
  flex-direction: column;
  gap: 4px;
}

.btn-large .btn-sub {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.85;
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 17px;
}

/* --- Section Common --- */
.section-label {
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
  text-align: center;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.section-title-left {
  text-align: left;
}

.section-desc {
  text-align: center;
  color: var(--gray-text);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.9;
}

/* --- Emergency Section --- */
.emergency {
  background: var(--dark);
  color: var(--white);
  padding: 100px 0;
}

.emergency .section-label {
  color: var(--red-light);
}

.emergency .section-title {
  color: var(--white);
}

.emergency .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.emergency-flow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 56px;
}

.flow-step {
  flex: 1;
  text-align: center;
  padding: 32px 16px;
  background: var(--dark-light);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.flow-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  padding: 2px 14px;
  border-radius: 100px;
  letter-spacing: 0.1em;
}

.flow-icon-wrap {
  margin-bottom: 16px;
}

.flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid var(--red);
  border-radius: 50%;
  font-size: 24px;
  margin-top: 8px;
}

.flow-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}

.flow-step p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.flow-arrow {
  display: flex;
  align-items: center;
  font-size: 24px;
  color: var(--red);
  padding-top: 72px;
  font-weight: 700;
}

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

/* --- Numbers --- */
.numbers {
  background: var(--red);
  padding: 64px 0;
}

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

.number-item {
  color: var(--white);
}

.number-value {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 4px;
}

.number-unit {
  font-size: 0.5em;
  font-weight: 700;
}

.number-label {
  font-size: 14px;
  opacity: 0.85;
  letter-spacing: 0.05em;
}

/* --- Strengths --- */
.strengths {
  padding: 100px 0;
  background: var(--white);
}

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

.strength-card {
  padding: 40px 32px;
  background: var(--gray);
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
  border-left: 4px solid transparent;
}

.strength-card:hover {
  border-left-color: var(--red);
  transform: translateX(4px);
  box-shadow: var(--shadow);
}

.strength-num {
  font-size: 42px;
  font-weight: 900;
  color: rgba(211, 47, 47, 0.12);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.strength-card h3 {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.strength-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.9;
}

/* --- Services --- */
.services {
  padding: 100px 0;
  background: var(--gray);
}

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

.service-card {
  background: var(--white);
  padding: 40px 28px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-bottom-color: var(--red);
}

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

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--dark);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  border-radius: var(--radius);
  letter-spacing: 0.05em;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
}

.service-card p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

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

.service-tags li {
  font-size: 12px;
  background: var(--gray);
  color: var(--dark);
  padding: 4px 12px;
  border-radius: 100px;
  font-weight: 500;
}

/* --- About --- */
.about {
  padding: 100px 0;
  background: var(--white);
}

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

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

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-mid);
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--red);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-year {
  font-size: 14px;
  font-weight: 900;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.timeline-content h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.7;
}

/* --- Works --- */
.works {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
}

.works .section-label {
  color: var(--red-light);
}

.works .section-title {
  color: var(--white);
}

.works .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

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

.work-card {
  background: var(--dark-light);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.work-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

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

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

.work-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
}

.work-category {
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius);
}

.work-info {
  padding: 24px;
}

.work-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.work-info p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-bottom: 16px;
}

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

.work-meta span {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  padding: 3px 10px;
  border-radius: 100px;
}

/* --- Voices --- */
.voices {
  padding: 100px 0;
  background: var(--gray);
}

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

.voice-card {
  background: var(--white);
  padding: 36px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-left: 4px solid var(--red);
}

.voice-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.voice-stars {
  color: #FFC107;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.voice-text {
  font-size: 14px;
  line-height: 2;
  color: #444;
  margin-bottom: 20px;
}

.voice-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.voice-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.voice-type {
  font-size: 12px;
  color: var(--gray-text);
}

/* --- Company --- */
.company {
  padding: 100px 0;
  background: var(--white);
}

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

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

.company-table tr {
  border-bottom: 1px solid var(--gray-mid);
}

.company-table th,
.company-table td {
  padding: 18px 16px;
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 180px;
  font-weight: 700;
  color: var(--dark);
  background: var(--gray);
  white-space: nowrap;
}

.company-table td {
  color: #555;
  line-height: 1.8;
}

.company-table td a {
  color: var(--red);
  font-weight: 700;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: var(--gray);
}

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

.contact-phone-block {
  background: var(--dark);
  color: var(--white);
  padding: 48px 36px;
  border-radius: var(--radius);
  text-align: center;
}

.contact-emergency-label {
  color: var(--red);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.contact-phone-number {
  display: block;
  color: var(--white);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.contact-phone-number:hover {
  color: var(--red-light);
}

.contact-phone-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 24px;
}

.contact-phone-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.contact-phone-badges span {
  font-size: 12px;
  background: rgba(211, 47, 47, 0.15);
  color: var(--red-light);
  padding: 4px 14px;
  border-radius: 100px;
  border: 1px solid rgba(211, 47, 47, 0.3);
}

.contact-form-block {
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form-block h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
}

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

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--dark);
}

.required {
  font-size: 11px;
  color: var(--red);
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font);
  transition: var(--transition);
  background: var(--white);
  color: var(--dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.12);
}

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

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-links h4,
.footer-contact h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-phone {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: var(--red-light);
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.footer-contact p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

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

.footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* --- Fixed Emergency (Mobile) --- */
.fixed-emergency {
  position: fixed;
  bottom: -80px;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 12px 16px;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: bottom 0.3s ease;
  display: none;
}

.fixed-emergency.visible {
  bottom: 0;
}

.fixed-emergency-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  padding: 14px;
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.05em;
  width: 100%;
}

.fixed-emergency-icon {
  font-size: 22px;
}

/* --- Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-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;
  }

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

  .voices-grid .voice-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  .header {
    margin-top: 33px;
  }

  .header-inner {
    height: 64px;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .fixed-emergency {
    display: block;
  }

  .hero-content {
    padding: 100px 20px 80px;
  }

  .emergency-flow {
    flex-direction: column;
    gap: 16px;
  }

  .flow-arrow {
    transform: rotate(90deg);
    padding-top: 0;
    justify-content: center;
  }

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

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section-title-left {
    text-align: center;
  }

  .about-content .section-label {
    text-align: center;
  }

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

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

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

  .voices-grid .voice-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

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

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

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

  .contact-form-block {
    padding: 28px 20px;
  }

  .contact-phone-block {
    padding: 36px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .btn-large {
    padding: 16px 32px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .sample-banner {
    font-size: 11px;
    padding: 8px 12px;
  }

  .header {
    margin-top: 30px;
  }

  .logo-text {
    font-size: 15px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

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

  .hero-actions .btn {
    justify-content: center;
  }

  .flow-step {
    padding: 28px 14px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .company-table th {
    padding-bottom: 4px;
    border-bottom: none;
  }

  .company-table td {
    padding-top: 4px;
  }
}
