/* ==========================================================================
   TOP Page Specific Styles
   ========================================================================== */

/* ====== HERO SLIDER ====== */
.hero {
  position: relative;
  height: 554px;
  height: 484px;
  overflow: hidden;
}

/* Slides: stack and crossfade */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

/* Slide link: covers the entire slide area */
.hero__link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: #1A2B89;
  mix-blend-mode: multiply;
  opacity: 0.34;
  pointer-events: none;
}


.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter) 3rem;
}

/* Right-aligned text layout */
.hero__slide--right .hero__content {
  justify-content: flex-end;
  text-align: right;
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero__sub {
  margin-top: 0.75em;
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
}

/* ====== ABOUT + SIDEBAR ====== */
.about-section {
  padding: 0 var(--gutter);
}

.about-section__inner {
  display: flex;
  gap: var(--sp-2xl);
}
@media (max-width: 768px) {
.about-section {
  padding: 0 ;
}
}




/* Sidebar */
.sidebar {
  flex: 0 0 var(--sidebar-width);
}

.sidebar__banner {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--sp-2xl);
  aspect-ratio: 230 / 144;
  display: flex;
  align-items: flex-end;
}
.sidebar__banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar__banner-text {
    position: relative;
    z-index: 1;
    padding: 0.5em;
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--color-white);
    line-height: 1.6;
    width: 100%;
}

.sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar__group {
}

.sidebar__heading {
    display: block;
    padding: 12px 16px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-bold);
    color: var(--color-heading);
    background: var(--color-navy);
    border-radius: var(--radius-xl);
    transition: background var(--duration) var(--ease);
}
a.sidebar__heading:hover {
  background: var(--color-blue);
}
.sidebar__list li a {
  display: block;
  padding: 10px 16px 10px 28px;
  font-size: var(--fs-sm);
  color: var(--color-text);
  background: var(--color-bg-light);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.sidebar__list li:last-child a {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg) ;
}
.sidebar__list li a::before {
  content: "- ";
  color: var(--color-text-muted);
}

.sidebar__list li a:hover {
  background: var(--color-blue-light);
  color: var(--color-blue);
}

.sidebar__link-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  background: var(--color-bg-light);
  transition: background var(--duration) var(--ease);
}

.sidebar__link-item:hover {
  background: var(--color-blue-light);
}

.sidebar__link-item--icon svg {
  fill: var(--color-text);
}

.sidebar__group--highlight {
  margin-top: var(--sp-sm);
}




.sidebar__link-video {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 2em 16px;
aspect-ratio: 230 / 116;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  border-radius: var(--radius-lg); 
  overflow: hidden;
  justify-content: center;
    margin-bottom:  var(--sp-lg);
}
.sidebar__link-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(../images/common/common-04.webp);
    background-size: cover;
    background-position: center;
    transition: transform var(--duration) var(--ease);
}
.sidebar__link-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 43, 137, 0.8);
}
.sidebar__link-video:hover::before {
  transform: scale(1.05);
}
.sidebar__link-video__icon,
.sidebar__link-video span,
.sidebar__link-video__arrow {
  position: relative;
  z-index: 1;
}
.sidebar__link-video__arrow {
  margin-left: 0;
}
.sidebar__link-video__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.sidebar__link-video__arrow {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  margin-left: auto;
}





.sidebar__link-corporate {
  position: relative;
  display: flex;
  align-items: center;
  padding: 2em 16px;
aspect-ratio: 230 / 116;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  border-radius: var(--radius-lg); 
  overflow: hidden;
  justify-content: center;
    margin-bottom:  var(--sp-lg);
  background: var(--color-blue);
}
.sidebar__link-corporate::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("../images/common/Parts17.svg");
    background-position: center right -35%;
    transition: transform var(--duration) var(--ease);
    background-repeat: no-repeat;
    background-size: 70%;
}

.sidebar__link-corporate:hover {
  background: var(--color-blue-hover);
}

.sidebar__corporate-logo {
  font-size: 1.5rem;
  font-weight: var(--fw-black);
  line-height: 1;
}






/* Main Content */
.about-section__main {
  flex: 1;
  min-width: 0;
}

.about-section__text {
  font-size: var(--fs-base);
  line-height: 2.2;
  margin-bottom: var(--sp-md);
  color: var(--color-text);
}
@media (max-width: 768px) {
.about-section__text {
  font-size: var(--fs-md-mid);
  line-height: 2.2;
  margin-bottom: var(--sp-md);
  color: var(--color-text);
}
}



.about-section__text--accent {
  font-weight: var(--fw-bold);
  color: var(--color-heading);
}

/* ====== OUR STRENGTHS ====== */
.strengths {
  padding: var(--sp-5xl) 0 var(--sp-xl) 0;
  background: var(--color-bg);
}

.strengths__pre {
    font-size: var(--fs-6xl);
    font-weight: var(--fw-bold);
    color: var(--color-heading);
    text-align: left;
    line-height: 1.4;
}

.strengths__num {
  color: var(--color-blue);
  font-weight: var(--fw-black);
  margin: 0 4px;
}

.strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-sm);
}
.strengths__card {
  position: relative;
  display: block;
    border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 30 / 35;
}

.strengths__card-bg {
  position: absolute;
  inset: 0;
}

.strengths__card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.strengths__card:hover .strengths__card-bg img {
  transform: scale(1.05);
}

.strengths__card-overlay {
    position: absolute;
    inset: 0;
    background: var(--color-heading);
    opacity: 0.5;
    
}

.strengths__card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: var(--sp-lg) 0;
  color: var(--color-white);
}

/* SVG number image (replaces text .strengths__card-num) */
.strengths__card-num-img {
  position: absolute;
  bottom: -1%;
  left: -4%;
  width: auto;       /* レスポンシブ対応：カード幅の80% */
  height: 40%;     /* 縦横比を viewBox から自動計算 */
  max-width: 100%;  /* Safari: はみ出し防止 */
  display: block;   /* Safari: インライン余白を排除 */
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
}
.strengths__card-title {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-bold);
    line-height: 1.4;
    text-align: center;
    text-shadow: 0px 0px 6px rgba(0,0,0,0.8);
}


.strengths__action {
  text-align: center;
  margin-top: var(--sp-2xl);
}
.strengths__card-icon {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  width: 50px;
  height: auto;
  pointer-events: none;
}
.strengths__card-icon img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}
/* ホバー時アイコン切り替え */
.strengths__card-icon .icon-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.strengths__card:hover .strengths__card-icon .icon-default {
  opacity: 0;
}
.strengths__card:hover .strengths__card-icon .icon-hover {
  opacity: 1;
}
.strengths__card-logo {
  position: absolute;
  left: -8px;
  top: -8px;
  z-index: 1;
  width: 140px;
  height: auto;
  pointer-events: none;
}
.strengths__card-logo img {
  width: 100%;
  height: auto;
  max-width: 100%;  /* Safari: はみ出し防止 */
  display: block;
}

@media (max-width: 768px) {
.strengths {
  padding: var(--sp-section) 0 var(--sp-3xl);
  background: var(--color-bg);
}
.strengths__card {
  position: relative;
  display: block;
    border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 30 / 35;
}

.strengths__card-logo {
  position: absolute;
  left: -6px;
  top: -6px;
  z-index: 1;
  width: 150px;
  height: auto;
  pointer-events: none;
}


}


/* ====== SPECIFICATIONS ====== */
.spec {
  padding: var(--sp-section) 0;
  background: var(--color-bg);
}

.spec__intro {
  margin-bottom: var(--sp-2xl);
}

.spec__intro p {
  font-size: var(--fs-sm);
  line-height: 2.2;
  margin-bottom: var(--sp-md);
}

.spec__table {
  width: 100%;
  margin-bottom: var(--sp-lg);
    border-radius: var(--radius-lg);
}

.spec__table th,
.spec__table td {
  padding: 16px 24px;
  font-size: var(--fw-medium);
  line-height: 1.7;
  border-bottom: 2px solid var(--color-white);
}

.spec__table th {
  width: 160px;
  font-weight: var(--fw-medium);
  background: var(--color-blue-spec1);
  color: var(--color-heading);
  white-space: nowrap;
  text-align: left;
}

.spec__table td {
  font-weight: var(--fw-bold);
  background: var(--color-blue-spec2);
  color: var(--color-darkblue);
  text-align: center;
}

.spec__note {
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ── Scroll Hint (テーブル横スクロール) ── */
.js-scrollable {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.js-scrollable::-webkit-scrollbar {
  height: 6px;
}
.js-scrollable::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}
@media (max-width: 768px) {
.spec__note {
  font-size: var(--fs-xs);
  line-height: 1.7;
}
  .js-scrollable .spec__table {
    min-width: 600px;
  }
}


.m-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
}
.m-table tr:first-child th:first-child,
.m-table tr:first-child td:first-child {
  border-top-left-radius: var(--radius-lg);
}
.m-table tr:first-child th:last-child,
.m-table tr:first-child td:last-child {
  border-top-right-radius: var(--radius-lg);
}
.m-table tr:last-child th:first-child,
.m-table tr:last-child td:first-child {
  border-bottom-left-radius: var(--radius-lg);
}
.m-table tr:last-child th:last-child,
.m-table tr:last-child td:last-child {
  border-bottom-right-radius: var(--radius-lg);
}
.m-table th:last-child,
.m-table td:last-child {
  border-right: none;
}
.m-table tr:last-child th,
.m-table tr:last-child td {
  border-bottom: none;
}




/* ====== CASES ====== */
.cases {
  padding: var(--sp-section) 0;
  background: var(--color-bg-lighter);
}

.cases__intro {
  font-size: var(--fs-sm);
  line-height: 2.2;
  margin-bottom: var(--sp-2xl);
}

.cases__tabs {
  margin-bottom: var(--sp-2xl);
}

.cases__tab-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 1em;
}

.cases__tab-label {
width: 5em;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0px 0px;
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-header);
  white-space: nowrap;
}

.cases__tab {
  flex: 0 0 auto;
  padding: 0.5em 1.5em;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text);
  background: var(--color-white);
    border-radius:  var(--radius-lg);
  border-left: none;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.cases__tab:first-of-type {
}

.cases__tab.is-active {
  background: var(--color-blue);
  color: var(--color-white);
  border-color: var(--color-blue);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.6);
}

.cases__tab:hover:not(.is-active) {
  background: var(--color-blue-light);
  color: var(--color-blue);
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl) var(--sp-sm) ;
}

.cases__item {
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease);
}

.cases__item a {
  display: block;
}

.cases__item .card__image {
    aspect-ratio: 222 / 180;
    object-fit: cover;
    overflow: hidden;
    background: var(--color-bg-light);
}

.cases__item .card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.cases__item:hover .card__image img {
  transform: scale(1.03);
}

.cases__item .card__body {
  padding: var(--sp-sm) 0;
}

.cases__item .card__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: 6px;
}

.cases__item .card__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cases__item .card__lot {
    display: inline-block;
    margin-top: var(--sp-md);
    font-size: var(--fs-xs);
    color: var(--color-white);
    font-weight: var(--fw-bold);
    background-color: var(--color-heading);
    padding: 0.1em 0.8em 0.2em 0.8em;
    border-radius:  var(--radius-lg);
}

.cases__action {
  text-align: center;
  margin-top: var(--sp-2xl);
}
@media (max-width: 768px) {
.cases__item .card__lot {
    display: inline-block;
    margin-top: var(--sp-sm-md);
    font-size: var(--fs-3xs);
    color: var(--color-white);
    font-weight: var(--fw-bold);
    background-color: var(--color-heading);
    padding: 0.1em 0.8em 0.2em 0.8em;
    border-radius:  var(--radius-lg);
}
.cases__item .card__text {
  font-size: var(--fs-xs);
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


}










/* ====== TECH PROPOSALS ====== */
.tech-proposals {
  padding: var(--sp-section) 0;
  background: var(--color-bg-lighter);
}

.tech-proposals__intro {
    font-size: var(--fs-sm);
    line-height: 1.9;
    margin-bottom: var(--sp-2xl);
}

.tech-proposals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm-md);
  margin-bottom: var(--sp-3xl);
}

.tech-proposals__card {
  display: block;
  overflow: hidden;
  transition: box-shadow var(--duration) var(--ease);
}


.tech-proposals__card-image {
  aspect-ratio: 6 / 7;
  overflow: hidden;
  background: var(--color-bg-light);
}

.tech-proposals__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}


.tech-proposals__card-body {
  padding: var(--sp-md) 0;
}


.tech-proposals__card-text {
  font-size: var(--fs-md);
  line-height: 1.4;
  color: var(--color-text);
  font-weight: var(--fw-bold);
}


@media (max-width: 768px) {
.tech-proposals__card-body {
  padding: var(--sp-sm) 0;
}
.tech-proposals__intro {
  font-size: var(--fs-md-mid);
  line-height: 2.2;
  margin-bottom: var(--sp-lg);
}
.tech-proposals__card-text {
  font-size: var(--fs-lg);
  line-height: 1.4;
  color: var(--color-text);
  font-weight: var(--fw-bold);
}


}


/* Sub blocks (2 column) */
.tech-proposals__sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); 
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
  width: 100%;
}
.tech-proposals__sub-block {
  background: var(--color-bg);
  padding: var(--sp-md) var(--sp-lg);
  border-radius: var(--radius-lg);
  min-width: 0;
  width: 100%;
}

.tech-proposals__sub-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--color-heading);
  margin-bottom: var(--sp-md);
  line-height: 1.4;
  min-height: 2.8em;
  display: flex;
  align-items: center;
}
.tech-proposals__sub-list li {
  border-bottom: 1px solid var(--color-border-light);
}
.tech-proposals__sub-list li:first-child {
  border-top: 1px solid var(--color-border-light);
}

.tech-proposals__sub-list li a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: var(--sp-md) 0;
  transition: opacity var(--duration) var(--ease);
  min-width: 0;
  width: 100%;
}

.tech-proposals__sub-list li a:hover {
  opacity: 0.7;
}

.tech-proposals__sub-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.tech-proposals__sub-tags {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.tech-proposals__sub-date {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  white-space: nowrap;
}

.tech-proposals__sub-list li p {
  font-size: var(--fs-sm);
  color: var(--color-text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  min-width: 0;
}

.tech-proposals__actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-lg);
  margin-top: var(--sp-md);
}





/* ====== MOVIES ====== */
.movies {
  padding: var(--sp-section) 0;
  background: var(--color-bg-lighter);
}

.movies__intro {
    font-size: var(--fs-sm);
    line-height: 2.2;
    margin-bottom: var(--sp-2xl);
}

.movies__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
}

.movies__card {
  display: block;
}

.movies__card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-dark);
}

.movies__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration) var(--ease);
}

.movies__card:hover .movies__card-image img {
  transform: scale(1.03);
}

.movies__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.movies__card-title {
  margin-top: var(--sp-sm);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.movies__action {
  text-align: center;
}





.movies__modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.movies__modal.is-open {
  display: flex;
}
.movies__modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}
.movies__modal-content {
  position: relative;
  z-index: 1;
  width: min(860px, 90vw);
}
.movies__modal-close {
  position: absolute;
  top: -2em;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.movies__modal-iframe-wrap {
  aspect-ratio: 16 / 9;
}
.movies__modal-iframe-wrap iframe {
  width: 100%;
  height: 100%;
}










/* ====== TOPICS ====== */
.topics {
  padding: var(--sp-section) 0;
  background: var(--color-bg);
}

.topics__header {
  display: flex;
  gap: var(--sp-3xl);
}

.topics__header .section-heading {
  flex: 0 0 200px;
}

.topics__view-all {
  display: inline-block;
  margin-top: var(--sp-2xl);
  font-size: var(--fs-sm);
  border-bottom: 1px solid var(--color-text-muted);
  transition: color var(--duration) var(--ease);
}

.topics__view-all:hover {
  color: var(--color-blue);
  border-color: var(--color-blue);
}

.topics__list {
  flex: 1;
}

.topics__item {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  padding: var(--sp-xl) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: opacity var(--duration) var(--ease);
}
.topics__item:first-child {
  border-top: 1px solid var(--color-border-light);
}
.topics__date {
  flex: 0 0 auto;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  font-family: var(--font-en);
  white-space: nowrap;
}


.topics__title {
  flex: 1;
  min-width: 0;
  font-size: var(--fs-sm);
  color: var(--color-text);
  line-height: 1.6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  position: relative;
  display: inline-block;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.topics__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-darkblue);
  transform: scaleX(0);
  transform-origin: left top;
  transition: transform 0.3s var(--ease);
}

.topics__title:hover {
  color: var(--color-darkblue);
}
.topics__title:hover::after {
  transform: scaleX(1);
}
.topics__arrow {
  flex: 0 0 auto;
  display: flex;
}
.topics__arrow-img {
  width: 40px;
  height: 40px;
  display: block;
}
.topics__item:hover .topics__arrow-img {
  content: url('../images/common/Parts14.svg');
}

/* ==========================================================================
   RESPONSIVE - 1280px
   ========================================================================== */
@media (max-width: 1280px) {
  .hero__title {
    font-size: 2.75rem;
  }

  .strengths__card-title {
    font-size: var(--fs-xl-mid);
  }

  .cases__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================================================
   RESPONSIVE - 1024px (Tablet Landscape)
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --sp-section: 4rem;
  }

  .top-bar {
    display: none;
  }

  .header__phone-group {
    display: none;
  }

  .gnav__list {
    flex-wrap: wrap;
  }

  .gnav__link {
    padding: 10px 6px;
    font-size: var(--fs-xs);
  }

  .hero {
    height: 400px;
  }

  .hero__title {
    font-size: 2.25rem;
  }

  .hero__content {
    padding-bottom: 2rem;
  }

  .about-section__inner {
    flex-direction: column;
  }

  .sidebar {
    flex: none;
    width: 100%;
  }

  .sidebar__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .sidebar__group {
    flex: 1 1 auto;
  }

  .strengths__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
  }

  .cases__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .tech-proposals__sub {
    grid-template-columns: 1fr;
  }

  .tech-proposals__actions {
    flex-direction: column;
    align-items: center;
  }

  .topics__header {
    flex-direction: column;
    gap: var(--sp-lg);
  }

  .topics__header .section-heading {
    flex: none;
  }

  .bottom-links__grid {
    flex-wrap: wrap;
    gap: var(--sp-xl);
  }
}

/* ==========================================================================
   RESPONSIVE - 769px to 1028px (Tablet)
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1028px) {
  :root {
    --sp-section: 4rem;
  }

  /* ── Hero ── */
  .hero {
    height: 400px;
  }
  .hero__title {
    font-size: 2.25rem;
  }

  /* ── Sidebar ── */
  .sidebar {
    flex: 0 0 200px;
    width: 200px;
  }
  .sidebar__nav {
    flex-direction: column;
  }
  .sidebar__group {
    flex: none;
  }
  .sidebar__link-video {
    font-size: var(--fs-md);
    padding: 1.5em 12px;
  }
  .sidebar__link-corporate {
    font-size: var(--fs-md);
    padding: 1.5em 12px;
  }

  /* ── Strengths ── */
  .strengths__pre {
    font-size: var(--fs-4xl);
  }
  .strengths__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
  }

  /* ── Spec ── */
  .spec__table th {
    width: 130px;
    font-size: var(--fs-sm);
  }
  .spec__table td {
    font-size: var(--fs-sm);
  }

  /* ── Cases ── */
  .cases__tab-row {
    flex-wrap: wrap;
    gap: 4px;
  }
  .cases__tab-label {
    flex: 0 0 100%;
  }
  .cases__tab {
    padding: 0.4em 1em;
    font-size: var(--fs-xs);
  }
  .cases__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
  }

  /* ── Tech Proposals ── */
  .tech-proposals__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-proposals__sub {
    grid-template-columns: 1fr;
  }
  .tech-proposals__actions {
    flex-direction: column;
    align-items: center;
  }

  /* ── Movies ── */
  .movies__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
  }

  /* ── Topics ── */
  .topics__header {
    flex-direction: column;
    gap: var(--sp-lg);
  }
  .topics__header .section-heading {
    flex: none;
  }

  /* ── Bottom Links ── */
  .bottom-links__grid {
    flex-wrap: wrap;
    gap: 0;
  }
}

/* ==========================================================================
   RESPONSIVE - 768px (Tablet Portrait)
   ========================================================================== */
@media (max-width: 768px) {
  :root {
    --sp-section: 3rem;
    --gutter: 1.25rem;
  }

  /* Header - Mobile */
  .header__main {
    padding-right: 0;
  }

  .header__logo {
    padding: 10px 0;
  }

  .header__logo-main {
    font-size: 1rem;
  }

  .header__logo-sub2 {
    display: none;
  }

  .header__phone-time,
  .header__phone-group,
  .header__contact-btn {
    display: none;
  }

  .header__actions {
    gap: 0;
  }

.menu-toggle {
  display: flex;
  background: var(--color-darkblue);
  width: auto;
  align-self: stretch;
  aspect-ratio: 1 / 1;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  gap: 10px;
}

  .menu-toggle span {
    background: var(--color-white);
    width: 40px;
  }

  /* Hide desktop nav - drawer used instead */
  .gnav {
    display: none !important;
  }

  /* Hero */
  .hero {
    height: 320px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__content {
    padding-bottom: 1.5rem;
  }

  .hero__sub {
    font-size: var(--fs-xs);
  }

  /* Sidebar hidden on mobile */
  .sidebar {
    display: none;
  }

  /* Strengths */
  .strengths__pre {
    font-size: var(--fs-3xl);
  }

  .strengths__num {
    font-size: 2rem;
  }

  .strengths__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .strengths__card {
    aspect-ratio: 30 / 35;
  }
  .strengths__card-title {
    font-size: var(--fs-2xl);
  }

  /* Spec */
  .spec__table th {
    width: 120px;
    font-size: var(--fs-sm);
  }

  .spec__table td {
    font-size: var(--fs-sm);
  }

  /* Cases */
  .cases__tab-row {
    flex-wrap: wrap;
    gap: 10px;
  }
.cases__tabs {
  margin-bottom: var(--sp-lg);
}

.cases__tab-label {
width: 5em;
    flex: 0 0 100%;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-start;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--color-header);
  white-space: nowrap;
}

  .cases__tab {
    padding: 0.5em 1em;
    font-size: var(--fs-sm);
    border-left: 1px solid var(--color-border);
  }
    
    

  .cases__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-md);
  }

  /* Tech Proposals */
  .tech-proposals__grid {
    grid-template-columns: 1fr;
  }

  /* Movies */
  .movies__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  /* CTA Banner */
  .cta-banner__title {
    font-size: var(--fs-3xl);
  }

  .cta-banner__text {
    font-size: var(--fs-md);
      line-height: 2.2em;
  }

  /* Bottom Links */
  .bottom-links__grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
  }

.bottom-links__item {
    width: calc(100% / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    aspect-ratio: 239 / 218;
    transition: all var(--duration) var(--ease);
}

    .bottom-links__icon {
    width: 100%;
    height: auto;
  }

  /* Footer - Top Bar */
  .footer__phone {
    display: none;
  }

  .footer__top-bar {
    padding: var(--sp-xl) var(--sp-md)  var(--sp-md) var(--sp-md) ;
    border-bottom: 1px solid var(--color-border);
  }

  .footer__top-bar-inner {
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .footer__logo-sub {
    font-size: var(--fs-sm);
      line-height: 1.4em;
  }

  .footer__logo-main {
    font-size: var(--fs-xl);
  }

  .footer__logo-sub2 {
    display: block;
      margin-top: 1.5em;
  }

  /* Footer - Hide desktop nav, show mobile nav */
  .footer__nav-grid {
    display: none;
  }

  .footer__inner {
    padding: var(--sp-lg) 20px;
  }

  .footer__logo-img {
    max-width: 240px;
  }

  .footer__address {
    text-align: center;
  }

  /* Hide desktop privacy (moved to mobile nav) */
  .footer > .footer__bottom-inner {
    display: none;
  }

  .footer__bottom-inner {
    flex-direction: column;
    gap: var(--sp-sm);
    text-align: center;
  }

  /* Floating contact */
  .floating-contact {
    display: none;
  }
}
