/*
Theme Name: Xrossil Research
Theme URI: https://xrossil.co.jp
Author: Xrossil Research
Author URI: https://xrossil.co.jp
Description: 大阪府立大学発ベンチャー企業 Xrossil Research の公式サイトテーマ。SmartBAN研究開発・受託開発を紹介。
Version: 3.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: xrossil
*/

/* =========================================
   Xrossil Research — トラディショナルHPスタイル
   ========================================= */

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

:root {
  --white: #ffffff;
  --gray-50: #f5f5f5;
  --gray-100: #e8e8e8;
  --gray-200: #d0d0d0;
  --gray-500: #888888;
  --gray-700: #333333;
  --blue: #2e6da8;
  --blue-light: #4a90c8;
  --blue-dark: #1a4f82;
  --blue-teal: #2980b9;
  --font-main: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 3.5rem;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; font-size: 1rem; overflow-x: hidden; }

body { padding-top: var(--nav-height); }

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--gray-700);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  word-break: break-word;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-full {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.pc-only { display: inline; }

/* -- Navigation ------------------------------------------ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 0.0625rem solid var(--gray-100);
  box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.06);
}

.nav-inner {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}
.logo-x { color: var(--blue); }

/* Pipe-separated nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links li a {
  font-size: 0.85rem;
  color: var(--gray-700);
  padding: 0 0.75rem;
  transition: color var(--transition);
}
.nav-links li a:hover { color: var(--blue); }

.nav-links .pipe {
  color: var(--gray-200);
  font-size: 0.85rem;
  user-select: none;
  pointer-events: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.3125rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}
.hamburger span {
  display: block;
  width: 1.375rem;
  height: 0.125rem;
  background: var(--gray-700);
  border-radius: 0.125rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(0.4375rem) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-0.4375rem) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 0.0625rem solid var(--gray-100);
  z-index: 999;
  padding: 1.5rem;
  transform: translateY(-110%);
  transition: transform 0.3s ease;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 0; }
.mobile-menu li a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1rem;
  color: var(--gray-700);
  border-bottom: 0.0625rem solid var(--gray-100);
}
.mobile-menu li a:hover { color: var(--blue); }

/* -- Section Headings (traditional centered style) ------- */
.section-heading {
  text-align: center;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--gray-700);
  letter-spacing: -0.01em;
  margin-bottom: 0.875rem;
}

.section-divider {
  width: 2.5rem;
  height: 0.1875rem;
  background: var(--blue);
  margin: 0 auto 2rem;
}
.section-divider.white {
  background: var(--white);
}

.section-body-center {
  text-align: center;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--gray-500);
  max-width: 42rem;
  margin: 0 auto 2rem;
}

/* -- Buttons --------------------------------------------- */
.btn-traditional {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-teal) 100%);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 2.5rem;
  border-radius: 3rem;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  font-family: var(--font-main);
}
.btn-traditional:hover { opacity: 0.88; transform: translateY(-0.0625rem); }

/* -- Hero Section ---------------------------------------- */
.section-hero {
  position: relative;
  min-height: 32rem;
  height: calc(100vh - var(--nav-height));
  max-height: 50rem;
  overflow: hidden;
  background:
    linear-gradient(160deg,
      rgba(20, 60, 110, 0.82) 0%,
      rgba(30, 90, 150, 0.72) 50%,
      rgba(20, 120, 160, 0.65) 100%
    ),
    linear-gradient(135deg, #0f3460 0%, #16213e 40%, #0a3d62 70%, #1a6b8a 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.hero-content {
  max-width: 75rem;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 3rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 0.0625rem solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.3125rem 0.875rem;
  border-radius: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-shadow: 0 0.125rem 0.5rem rgba(0,0,0,0.2);
}

.hero-sub {
  font-size: clamp(0.9rem, 1.8vw, 1.05rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

/* -- News Section ---------------------------------------- */
.section-news {
  background: var(--white);
  padding: 0;
}

.section-news .container {
  padding-top: 0;
  padding-bottom: 0;
}

.news-layout {
  display: flex;
  align-items: flex-start;
  gap: 0;
  background: var(--white);
  border: 0.0625rem solid var(--gray-100);
  box-shadow: 0 0.125rem 1rem rgba(0, 0, 0, 0.06);
  margin: -2rem 0 0;
  position: relative;
  z-index: 10;
}

.news-label-col {
  flex-shrink: 0;
  width: 9rem;
  padding: 2rem 1.5rem;
  border-right: 0.0625rem solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.news-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-700);
}

.news-list {
  flex: 1;
  padding: 0;
  min-width: 0;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 1.125rem 1.5rem;
  border-bottom: 0.0625rem solid var(--gray-100);
}
.news-item:last-child { border-bottom: none; }

.news-date {
  flex-shrink: 0;
  font-size: 0.88rem;
  color: var(--gray-500);
  min-width: 5rem;
}

.news-title {
  font-size: 0.9rem;
  color: var(--blue);
  line-height: 1.55;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
.news-title:hover { color: var(--blue-dark); }

.news-more-col {
  flex-shrink: 0;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-more-btn {
  display: inline-block;
  border: 0.0625rem solid var(--blue);
  color: var(--blue);
  font-size: 0.82rem;
  padding: 0.4375rem 1rem;
  border-radius: 1.25rem;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.news-more-btn:hover {
  background: var(--blue);
  color: var(--white);
}

/* -- About Section --------------------------------------- */
.section-about {
  background: var(--white);
  padding: 5rem 0;
  text-align: center;
}

/* -- Cards Section --------------------------------------- */
.section-cards {
  background: var(--gray-50);
  padding: 3rem 1rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 75rem;
  margin: 0 auto;
}

.page-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.75rem rgba(0, 0, 0, 0.1);
  transition: box-shadow var(--transition), transform var(--transition);
}
.page-card:hover {
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.15);
  transform: translateY(-0.1875rem);
}

.card-image {
  height: 16rem;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.page-card:hover .card-image { transform: scale(1.03); }

/* Card background images (CSS gradient placeholders) */
.card-img-smartban {
  background:
    linear-gradient(160deg, rgba(30, 100, 160, 0.3) 0%, rgba(20, 140, 180, 0.2) 100%),
    linear-gradient(135deg, #0a3d62 0%, #1a6b8a 50%, #2980b9 100%);
}

.card-img-services {
  background:
    linear-gradient(160deg, rgba(60, 100, 140, 0.3) 0%, rgba(80, 120, 160, 0.2) 100%),
    linear-gradient(135deg, #1a3a5c 0%, #2e6da8 50%, #4a90c8 100%);
}

.card-caption {
  padding: 1.25rem 1.5rem;
}
.caption-dark { background: #3a3a3a; }
.caption-blue { background: var(--blue); }

.card-caption h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.375rem;
}
.card-caption p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* -- SmartBAN Section ------------------------------------ */
.section-smartban {
  background: var(--white);
  padding: 5rem 0;
}

.smartban-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 2.5rem 0 3.5rem;
}

.smartban-specs h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th,
.spec-table td {
  padding: 0.625rem 0.875rem;
  text-align: left;
  font-size: 0.85rem;
  border-bottom: 0.0625rem solid var(--gray-100);
  vertical-align: top;
  line-height: 1.6;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }
.spec-table th {
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
  width: 38%;
  background: var(--gray-50);
}
.spec-table td { color: var(--gray-500); }

.smartban-research {
  border-top: 0.0625rem solid var(--gray-100);
  padding-top: 2.5rem;
}
.smartban-research > h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}
.research-points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.research-point {
  border-left: 0.1875rem solid var(--blue);
  padding-left: 1rem;
}
.research-point h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}
.research-point p {
  font-size: 0.82rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* BAN 図 */
.smartban-diagram {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 22rem;
  height: 16rem;
  overflow: visible;
}
.human-figure {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
}
.human-icon {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14rem;
  height: 40rem;
}
.human-icon img {
  width: 100%;
  display: block;
  object-fit: fill;
  opacity: 0.75;
}
.ban-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}
.node-head    { top: 10%; left: 50%; }
.node-chest   { top: 30%; left: 50%; }
.node-wrist-l { top: 50%; left: 42%; }
.node-wrist-r { top: 50%; left: 58%; }
.node-leg     { top: 95%; left: 50%; }
.node-pulse {
  width: 0.875rem;
  height: 0.875rem;
  background: var(--blue);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(46, 109, 168, 0.4);
  animation: nodePulse 2s infinite;
}
.ban-node:nth-child(2) .node-pulse { animation-delay: 0s; }
.ban-node:nth-child(3) .node-pulse { animation-delay: 0.4s; }
.ban-node:nth-child(4) .node-pulse { animation-delay: 0.8s; }
.ban-node:nth-child(5) .node-pulse { animation-delay: 1.2s; }
.ban-node:nth-child(6) .node-pulse { animation-delay: 1.6s; }
@keyframes nodePulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 109, 168, 0.5); }
  70%  { box-shadow: 0 0 0 0.875rem rgba(46, 109, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 109, 168, 0); }
}
.ban-node span {
  position: absolute;
  font-size: 0.62rem;
  color: var(--gray-500);
  white-space: nowrap;
  letter-spacing: 0.05em;
}
.node-head    span { top: 1.2rem;  left: 50%; transform: translateX(-50%); }
.node-chest   span { top: 1.2rem;  left: 50%; transform: translateX(-50%); }
.node-wrist-l span { top: 1.8rem;  left: 0; transform: translateX(-50%); }
.node-wrist-r span { top: 1.8rem;  left: 90%; transform: translateX(-50%); }
.node-leg     span { top: 1.2rem;  left: 50%; transform: translateX(-50%); }
.ban-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ban-line {
  stroke: rgba(46, 109, 168, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: dashMove 2s linear infinite;
}
@keyframes dashMove { to { stroke-dashoffset: -16; } }

/* -- Services Section ------------------------------------ */
.section-services {
  background: var(--gray-50);
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--white);
  border: 0.0625rem solid var(--gray-100);
  border-top: 0.25rem solid var(--blue);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.04);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
  transform: translateY(-0.1875rem);
}
#service-contract { border-top-color: #5856d6; }
#service-consulting { border-top-color: #2e8b57; }

.service-card-inner { padding: 1.75rem; }

.service-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.875rem;
}
#service-contract .service-badge { color: #5856d6; }
#service-consulting .service-badge { color: #2e8b57; }

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}
.service-list { display: flex; flex-direction: column; gap: 0.5rem; }
.service-list li {
  font-size: 0.85rem;
  color: var(--gray-500);
  padding-left: 1rem;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--blue);
}
#service-contract .service-list li::before { background: #5856d6; }
#service-consulting .service-list li::before { background: #2e8b57; }

/* -- Research / Timeline --------------------------------- */
.section-research {
  background: var(--white);
  padding: 5rem 0;
}

.timeline {
  position: relative;
  padding-left: 5rem;
  margin-top: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 3.5rem;
  top: 1rem;
  bottom: 0;
  width: 0.0625rem;
  background: linear-gradient(to bottom, var(--blue), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-year {
  position: absolute;
  left: -5rem;
  top: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.8rem;
  top: 0.55rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0.25rem rgba(46, 109, 168, 0.12);
}
.timeline-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}
.timeline-content p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}
.timeline-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-500);
  background: var(--gray-50);
  border: 0.0625rem solid var(--gray-100);
  padding: 0.1875rem 0.625rem;
  border-radius: 1.25rem;
}

/* -- Contact Section ------------------------------------- */
.section-contact {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg,
      rgba(20, 60, 110, 0.75) 0%,
      rgba(30, 90, 150, 0.7) 50%,
      rgba(20, 120, 160, 0.65) 100%
    ),
    linear-gradient(135deg, #0f3460 0%, #16213e 40%, #0a3d62 70%, #1a6b8a 100%);
  min-height: 26rem;
}

.contact-bg-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 26rem;
  padding: 4rem 2rem;
  text-align: center;
}

.contact-heading {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.875rem;
  letter-spacing: -0.01em;
}

.btn-contact-large {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-teal) 100%);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 3rem;
  border-radius: 3rem;
  border: 0.0625rem solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  min-width: 16rem;
  text-align: center;
  margin-bottom: 2rem;
}
.btn-contact-large:hover { opacity: 0.88; transform: translateY(-0.0625rem); }

.contact-address {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  line-height: 2;
  text-align: center;
}
.contact-address a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}
.contact-address a:hover { color: var(--white); }

/* -- Footer ---------------------------------------------- */
.footer {
  background: var(--white);
  border-top: 0.0625rem solid var(--gray-100);
  padding: 0 0 1rem;
  position: relative;
  text-align: center;
}

.footer-nav-row {
  padding: 1.25rem 0;
  border-bottom: 0.0625rem solid var(--gray-100);
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.footer-nav li a {
  font-size: 0.88rem;
  color: var(--gray-700);
  padding: 0 0.75rem;
  transition: color var(--transition);
}
.footer-nav li a:hover { color: var(--blue); }
.footer-nav .pipe {
  color: var(--gray-200);
  font-size: 0.88rem;
  user-select: none;
}

.footer-sub-row {
  padding: 0.875rem 0;
  border-bottom: 0.0625rem solid var(--gray-100);
}
.footer-sub-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.footer-sub-nav li a {
  font-size: 0.82rem;
  color: var(--gray-500);
  padding: 0 0.75rem;
  transition: color var(--transition);
}
.footer-sub-nav li a:hover { color: var(--blue); }
.footer-sub-nav .pipe {
  color: var(--gray-200);
  font-size: 0.82rem;
  user-select: none;
}

.footer-copy {
  padding: 1.25rem 0 0;
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--blue);
  color: var(--white);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
  z-index: 500;
}
.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

/* -- Responsive ------------------------------------------ */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-links { display: none; }
  .pc-only { display: none; }

  .news-layout { flex-direction: column; }
  .news-label-col {
    width: 100%;
    border-right: none;
    border-bottom: 0.0625rem solid var(--gray-100);
    padding: 1.25rem 1.5rem;
    justify-content: flex-start;
  }
  .news-more-col {
    padding: 1rem 1.5rem 1.25rem;
    justify-content: flex-start;
  }

  .cards-grid { grid-template-columns: 1fr; gap: 1rem; }

  .smartban-overview { grid-template-columns: 1fr; gap: 2rem; }
  .smartban-diagram { max-width: 18rem; }
  .node-wrist-r { top: 50%; left: 70%; }
  .node-wrist-l { top: 50%; left: 30%; }
  .research-points { grid-template-columns: 1fr 1fr; gap: 1rem; }

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

@media (max-width: 600px) {
  .section-about,
  .section-smartban,
  .section-services,
  .section-research { padding: 3.5rem 0; }

  .hero-title { font-size: 1.9rem; }

  .news-item { flex-direction: column; gap: 0.25rem; }
  .news-date { min-width: auto; }

  .research-points { grid-template-columns: 1fr; }

  .timeline { padding-left: 3.75rem; }
  .timeline-year { left: -3.75rem; }
  .timeline::before { left: 2.7rem; }
  .timeline-item::before { left: -1.35rem; }

  .footer-nav { gap: 0; }
  .footer-nav li a { padding: 0 0.5rem; font-size: 0.8rem; }

  .contact-bg-overlay { padding: 3rem 1.5rem; }
  .btn-contact-large { min-width: auto; width: 100%; max-width: 20rem; }
}

@media (max-width: 480px) {
  .section-heading { font-size: 1.5rem; }
  .service-card-inner { padding: 1.5rem; }
  .timeline { padding-left: 3rem; }
  .timeline-year { font-size: 0.68rem; left: -3rem; }
  .timeline::before { left: 2.05rem; }
  .timeline-item::before { left: -1.25rem; }
  .timeline-item { padding-bottom: 2.5rem; }
  .timeline-content h3 { font-size: 0.9rem; }
  .timeline-content p { font-size: 0.8rem; }
}
