/* === Base === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Meiryo", -apple-system, "Noto Sans JP", sans-serif;
  color: #1a1a1a;
  line-height: 1.85;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a { color: #1a3a5c; text-decoration: none; }
a:hover { color: #b91c1c; }
img { max-width: 100%; display: block; height: auto; }

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

:root {
  --dark:    #1a1a1a;
  --dark-2:  #2a2a2a;
  --navy:    #1a3a5c;
  --navy-d:  #0d2640;
  --accent:  #b91c1c;
  --gray-bg: #f4f4f4;
  --gray-2:  #e8e8e8;
  --gray-line: #e0e0e0;
  --text:    #1a1a1a;
  --text-l:  #555;
}

/* === Header === */
.site-header {
  background: var(--dark);
  color: #fff;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 2px solid var(--accent);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
}
.logo { display: flex; align-items: center; gap: 14px; color: #fff; }
.logo:hover { text-decoration: none; color: #fff; }
.logo-mark {
  display: inline-block;
  background: var(--accent); color: #fff;
  font-weight: 800; font-size: 14px; letter-spacing: 3px;
  padding: 8px 12px;
}
.logo-block { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text { font-weight: 800; font-size: 16px; letter-spacing: 0.05em; color: #fff; }
.logo-sub { font-size: 10px; letter-spacing: 0.15em; color: #aaa; margin-top: 3px; }

.nav { display: flex; gap: 0; align-items: center; height: 100%; }
.nav a {
  display: flex; align-items: center;
  height: 100%;
  padding: 0 16px;
  font-size: 13px; font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  transition: color .15s;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; bottom: 0; left: 50%;
  width: 0; height: 3px; background: var(--accent);
  transition: width .2s, left .2s;
}
.nav a:hover { color: #fff; text-decoration: none; }
.nav a:hover::after { width: 70%; left: 15%; }
.nav-cta {
  background: var(--accent);
  margin-left: 12px;
}
.nav-cta:hover { background: #8b1414 !important; }
.nav-cta::after { display: none; }
.hamburger { display: none; }

/* === Hero === */
.hero {
  position: relative;
  height: 90vh; min-height: 600px;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) contrast(1.1);
  z-index: 0;
  animation: heroZoom 18s ease-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.0); }
  to { transform: scale(1.08); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,38,64,0.55) 0%, rgba(15,15,15,0.4) 60%, rgba(185,28,28,0.2) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 0 24px;
  animation: heroFadeIn 1s ease-out;
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-since {
  display: inline-block;
  font-size: 12px; letter-spacing: 0.5em;
  color: #ffd166;
  font-weight: 700;
  margin-bottom: 24px;
  padding: 6px 16px;
  border: 1px solid #ffd166;
}
.hero-title {
  font-size: 60px; font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero-line { display: block; }
.hero-lead {
  font-size: 17px; line-height: 1.9;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: #fff;
  font-size: 11px; letter-spacing: 0.4em; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero-scroll span {
  width: 1px; height: 50px;
  background: #fff;
  position: relative; overflow: hidden;
}
.hero-scroll span::after {
  content: ""; position: absolute;
  top: -50px; left: 0; width: 1px; height: 50px;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -50px; }
  100% { top: 50px; }
}

/* === Section common === */
section { padding: 90px 0; }
.section-title {
  font-size: 32px; font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  color: var(--dark);
  letter-spacing: 0.12em;
}
.section-title-en {
  display: block;
  text-align: center;
  font-size: 11px; letter-spacing: 0.5em;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 700;
}
.section-bar {
  width: 50px; height: 3px;
  background: var(--accent);
  margin: 0 auto 50px;
}
.section-bar.white { background: #fff; }
.section-title.white { color: #fff; }
.section-lead {
  text-align: center; color: var(--text-l);
  margin-bottom: 56px; font-size: 15px;
  line-height: 1.9;
}

/* === About === */
.about { background: #fff; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
  max-width: 1100px; margin: 0 auto;
}
.about-lead {
  font-size: 28px; font-weight: 800;
  color: var(--dark);
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
  border-left: 4px solid var(--accent);
  padding-left: 18px;
}
.about-text p { font-size: 15px; line-height: 2; margin-bottom: 14px; }
.about-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  filter: contrast(1.05);
}

/* === Service === */
.service { background: var(--gray-bg); }
.service-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
}
.service-item {
  background: #fff;
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: stretch;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  border-bottom: 3px solid transparent;
}
.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  border-bottom-color: var(--accent);
}
.service-img {
  background-color: var(--gray-2);
  background-size: cover;
  background-position: center;
  min-height: 180px;
}
.service-content {
  padding: 28px 28px 24px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
}
.service-num {
  font-size: 13px; letter-spacing: 0.3em;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 8px;
}
.service-content h3 {
  font-size: 22px; font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-line);
}
.service-content p {
  font-size: 13.5px; color: var(--text);
  line-height: 1.85;
}

/* === Process === */
.process { background: #fff; }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  max-width: 1200px; margin: 0 auto;
}
.process-step {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  height: 360px;
  background: var(--dark);
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.2);
}
.process-step::after {
  content: "+";
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 300;
  border-radius: 50%;
  opacity: 0; transition: opacity .2s;
  z-index: 3;
}
.process-step:hover::after { opacity: 1; }
.process-step-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) contrast(1.1);
  transition: transform .4s, filter .3s;
  z-index: 0;
}
.process-step:hover .process-step-img {
  transform: scale(1.08);
  filter: brightness(0.45) contrast(1.15);
}
.process-step::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,38,64,0.7) 0%, rgba(15,15,15,0.3) 50%, rgba(15,15,15,0.1) 100%);
  z-index: 1;
}
.process-step-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 22px 26px;
  color: #fff;
  z-index: 2;
}
.process-step-num {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.3em;
  color: #ffd166;
  background: rgba(0,0,0,0.6);
  padding: 4px 12px;
  font-weight: 800;
  margin-bottom: 14px;
  border-left: 3px solid var(--accent);
}
.process-step-content h4 {
  font-size: 22px; font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.process-step-content p {
  font-size: 12.5px;
  color: #e5e5e5;
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

/* === Credentials === */
.credentials { background: var(--gray-bg); }
.credentials-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  max-width: 1000px; margin: 0 auto;
}
.cred-block {
  background: #fff;
  padding: 36px 32px;
  border-top: 4px solid var(--accent);
}
.cred-block h3 {
  font-size: 18px; font-weight: 800;
  color: var(--dark);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-line);
  letter-spacing: 0.08em;
}
.cred-list { list-style: none; }
.cred-list li {
  padding: 11px 0;
  border-bottom: 1px dotted var(--gray-line);
  font-size: 14px;
  display: flex; align-items: center; gap: 12px;
}
.cred-list li:last-child { border-bottom: none; }
.cred-tag {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 10px;
  letter-spacing: 0.2em;
  flex-shrink: 0;
}
.industry-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.industry-list li {
  background: var(--gray-bg);
  padding: 8px 16px;
  font-size: 12.5px;
  color: var(--dark);
  font-weight: 700;
  border-left: 3px solid var(--accent);
  letter-spacing: 0.05em;
}

/* === Works === */
.works { background: #fff; }
.works-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.work {
  background: #fff;
  border: 1px solid var(--gray-line);
  cursor: pointer;
  position: relative;
  transition: all .2s;
}
.work:hover {
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.work::after {
  content: "+";
  position: absolute; top: 8px; right: 8px;
  width: 32px; height: 32px;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 300;
  border-radius: 50%;
  opacity: 0; transition: opacity .2s;
}
.work:hover::after { opacity: 1; }
.work-img {
  aspect-ratio: 4/3;
  background-color: var(--gray-2);
  background-size: cover;
  background-position: center;
  transition: filter .3s;
}
.work:hover .work-img { filter: brightness(1.05); }
.work-content { padding: 14px 16px 16px; }
.work-content h4 {
  font-size: 13.5px; font-weight: 800;
  color: var(--dark);
  margin-bottom: 5px;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.work-content p {
  font-size: 11.5px; color: var(--text-l);
  line-height: 1.6;
}

/* === Equipment === */
.equipment { background: var(--gray-bg); }
.table-wrap { overflow-x: auto; max-width: 900px; margin: 0 auto; }
.equipment-table {
  width: 100%; border-collapse: collapse;
  background: #fff; font-size: 13.5px;
}
.equipment-table th, .equipment-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--gray-line);
}
.equipment-table thead th {
  background: var(--dark); color: #fff;
  font-weight: 700; letter-spacing: 0.1em;
  font-size: 12px;
}
.equipment-table tbody tr:nth-child(even) { background: #fafafa; }
.equipment-table tbody tr:hover { background: #fff5f5; }
.equipment-table td:last-child { text-align: center; font-weight: 700; color: var(--accent); }

/* === Pride === */
.pride { background: #fff; }
.pride-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.pride-card {
  background: var(--gray-bg);
  padding: 36px 28px 32px;
  position: relative;
  transition: all .2s;
  border-left: 4px solid var(--gray-line);
}
.pride-card:hover {
  background: var(--dark);
  color: #fff;
  border-left-color: var(--accent);
  transform: translateY(-4px);
}
.pride-card:hover h4 { color: #fff; }
.pride-card:hover p { color: #ddd; }
.pride-card:hover .pride-num { color: var(--accent); }
.pride-num {
  display: block;
  font-size: 36px; font-weight: 900;
  color: var(--gray-2);
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1;
  margin-bottom: 16px;
  transition: color .2s;
}
.pride-card h4 {
  font-size: 19px; font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  transition: color .2s;
}
.pride-card p {
  font-size: 13.5px;
  color: var(--text-l);
  line-height: 1.85;
  transition: color .2s;
}

/* === News === */
.news { background: var(--gray-bg); }
.news-list {
  list-style: none;
  max-width: 900px; margin: 0 auto;
  background: #fff;
  border-top: 3px solid var(--accent);
}
.news-list li {
  display: flex; align-items: center; gap: 24px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--gray-line);
  font-size: 14px;
  cursor: pointer;
  transition: all .15s;
}
.news-list li:last-child { border-bottom: none; }
.news-list li:hover { background: #fff5f5; padding-left: 32px; }
.news-meta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; min-width: 200px; }
.news-list time { color: var(--text-l); font-size: 13px; font-family: "Helvetica Neue", Arial, sans-serif; }
.news-list .cat {
  background: var(--dark); color: #fff;
  font-size: 11px; padding: 3px 14px;
  min-width: 70px; text-align: center;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.news-title { font-size: 14px; color: var(--text); transition: color .15s; }
.news-list li:hover .news-title { color: var(--accent); }

/* === Company info === */
.company-info { background: #fff; }
.company-table {
  max-width: 800px; margin: 0 auto;
  width: 100%; border-collapse: collapse;
  font-size: 14px;
}
.company-table th, .company-table td {
  padding: 16px 20px; text-align: left;
  border-bottom: 1px solid var(--gray-line);
  vertical-align: top;
}
.company-table th {
  width: 28%; background: var(--gray-bg);
  font-weight: 700; color: var(--dark);
  font-size: 12.5px;
  letter-spacing: 0.1em;
}

/* === Contact === */
.contact {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: ""; position: absolute;
  inset: 0;
  background: url("images/sparks2.jpg") center/cover;
  opacity: 0.08;
  z-index: 0;
}
.contact .container { position: relative; z-index: 1; }
.contact-lead { text-align: center; margin-bottom: 40px; font-size: 15px; opacity: 0.9; line-height: 1.9; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  max-width: 800px; margin: 0 auto;
}
.contact-card {
  display: block;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 36px 24px;
  text-align: center;
  transition: all .2s;
  color: #fff;
}
.contact-card:hover {
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
  color: #fff;
  transform: translateY(-4px);
}
.contact-label { display: block; font-size: 12px; opacity: 0.8; margin-bottom: 12px; letter-spacing: 0.2em; font-weight: 700; }
.contact-big { display: block; font-size: 28px; font-weight: 900; margin-bottom: 8px; color: #ffd166; }
.contact-card:hover .contact-big { color: #fff; }
.contact-sub { display: block; font-size: 12px; opacity: 0.7; }

/* === Footer === */
.site-footer { background: #0d0d0d; color: #aaa; padding: 60px 0 0; font-size: 13px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 13px; line-height: 1.9; color: #888; }
.footer-nav h5 {
  color: #fff; font-size: 13px; margin-bottom: 16px;
  letter-spacing: 0.15em; padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  font-weight: 800; display: inline-block;
  width: 100%;
}
.footer-nav a {
  display: block; padding: 6px 0;
  font-size: 12.5px; color: #aaa;
  transition: color .15s;
}
.footer-nav a:hover { color: #fff; text-decoration: none; }
.copyright {
  text-align: center; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 11px; color: #666;
  letter-spacing: 0.15em;
}

/* === Modal === */
.modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-overlay {
  position: absolute; inset: 0;
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.modal-content {
  position: relative;
  background: #fff;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: modalIn .25s ease-out;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.95);
  border: none;
  font-size: 24px; line-height: 1;
  cursor: pointer;
  color: var(--dark);
  font-weight: 300;
  border-radius: 50%;
  z-index: 2;
  transition: all .15s;
}
.modal-close:hover { background: var(--accent); color: #fff; }
.modal-img {
  background: #000;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.modal-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: 90vh;
}
.modal-body {
  padding: 36px 32px 28px;
  overflow-y: auto;
}
.modal-body h3 {
  font-size: 23px; font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}
.modal-spec {
  font-size: 13px;
  color: var(--text-l);
  padding: 10px 16px;
  background: var(--gray-bg);
  margin-bottom: 22px;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.modal-desc {
  font-size: 14px; line-height: 1.95;
  color: var(--text);
  margin-bottom: 22px;
}
.modal-meta {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-line);
}
.modal-meta span {
  font-size: 12px;
  color: var(--text-l);
  padding: 4px 0;
  display: block;
}
.modal-meta span::before {
  content: "■ ";
  color: var(--accent);
  font-size: 9px;
  margin-right: 4px;
}

/* News modal */
.modal-content-news {
  grid-template-columns: 1fr;
  max-width: 640px;
}
.modal-news-body {
  padding: 44px 40px 36px;
  background: #fff;
}
.news-modal-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-line);
}
.news-modal-meta time { color: var(--text-l); font-size: 13px; }
.news-modal-meta .cat {
  background: var(--dark); color: #fff;
  font-size: 11px; padding: 3px 14px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
#newsModalTitle {
  font-size: 22px; font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  border-left: 4px solid var(--accent);
  padding-left: 14px;
}
.news-modal-body-text {
  font-size: 14px; line-height: 2;
  color: var(--text);
}

/* Form modal */
.modal-content-form {
  grid-template-columns: 1fr;
  max-width: 720px;
  max-height: 92vh;
  overflow-y: auto;
}
.form-body {
  padding: 50px 48px 40px;
  background: #fff;
}
.form-body .section-title-en { display: block; text-align: center; }
.form-title {
  font-size: 26px; font-weight: 800;
  text-align: center;
  color: var(--dark);
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.form-body .section-bar { margin: 0 auto 24px; }
.form-lead {
  text-align: center;
  font-size: 13px;
  color: var(--text-l);
  margin-bottom: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px; font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.req {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 1px 8px;
  margin-left: 6px;
  letter-spacing: 0.1em;
  vertical-align: 1px;
}
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid var(--gray-line);
  background: #fff;
  font-family: inherit;
  color: var(--text);
  transition: border-color .15s, background .15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff5f5;
}
.form-row .error {
  border-color: var(--accent);
  background: #fff5f5;
}
.form-row textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.form-row select {
  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 fill='%23b91c1c' d='M0 0l6 8 6-8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-check { margin-top: 8px; padding: 14px 16px; background: var(--gray-bg); }
.check-label {
  display: flex !important; align-items: center; gap: 10px;
  font-size: 13px !important;
  color: var(--text) !important;
  cursor: pointer;
  margin: 0 !important;
}
.check-label input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.form-actions {
  text-align: center;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-line);
}
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-weight: 800; font-size: 14px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  letter-spacing: 0.15em;
  transition: all .15s;
  font-family: inherit;
}
.btn:hover { background: #8b1414; border-color: #8b1414; color: #fff; }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.form-actions .btn { min-width: 240px; padding: 16px 40px; font-size: 15px; }

.form-success {
  display: none;
  text-align: center;
  padding: 30px 0 10px;
}
.form-success .check-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 36px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.form-success h4 {
  font-size: 22px; font-weight: 800;
  color: var(--dark);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.form-success p {
  font-size: 14px; line-height: 1.9;
  color: var(--text);
  margin-bottom: 28px;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .nav a { padding: 0 12px; font-size: 12px; }
  .pride-grid { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav {
    position: fixed; top: 78px; right: -100%;
    width: 80%; max-width: 320px; height: calc(100vh - 78px);
    background: var(--dark); flex-direction: column; padding: 0;
    transition: right .3s; align-items: stretch;
    overflow-y: auto;
  }
  .nav.open { right: 0; }
  .nav a {
    height: auto;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav a::after { display: none; }
  .nav-cta { margin-left: 0; }
  .hamburger {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
  }
  .hamburger span {
    width: 24px; height: 2px; background: #fff;
  }
  .hero-title { font-size: 38px; }
  .hero { height: 80vh; min-height: 500px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-lead { font-size: 22px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 160px 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { height: 320px; }
  .credentials-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .pride-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  section { padding: 60px 0; }
  .section-title { font-size: 26px; }
  .modal-content { grid-template-columns: 1fr; grid-template-rows: 240px 1fr; max-height: 92vh; }
  .modal-img img { max-height: 240px; }
  .modal-body { padding: 26px 22px 18px; }
  .modal-news-body { padding: 36px 24px 24px; }
  #newsModalTitle { font-size: 18px; }
}
@media (max-width: 600px) {
  html { font-size: 14px; }
  .container { padding: 0 18px; }
  .logo-text { font-size: 14px; }
  .logo-sub { display: none; }
  .hero-title { font-size: 28px; }
  .hero-since { font-size: 10px; padding: 5px 12px; }
  .service-item { grid-template-columns: 1fr; }
  .service-img { min-height: 180px; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pride-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .news-list li { flex-wrap: wrap; gap: 10px; padding: 16px 18px; }
  .news-list li:hover { padding-left: 22px; }
  .form-body { padding: 36px 22px 24px; }
  .form-title { font-size: 20px; }
  .form-row-2 { grid-template-columns: 1fr; gap: 18px; }
  .form-actions .btn { width: 100%; min-width: 0; }
  .equipment-table th, .equipment-table td { padding: 10px 12px; font-size: 12px; }
}
