/* ==========================================================================
   IRIE PEOPLE - BTOB CORPORATE STYLE
   ========================================================================== */

/* --- CSS VARIABLES --- */
:root {
  /* Color Palette - Blue, White, Light Gray */
  --primary-color: #004b87;      /* Trustworthy Corporate Blue */
  --primary-dark: #00335e;       /* Darker Blue for hover */
  --accent-color: #f4f6f9;       /* Light Gray for accents/backgrounds */
  --text-main: #333333;          /* Dark Gray for high readability */
  --text-muted: #666666;         /* Medium Gray for secondary text */
  --bg-white: #ffffff;
  --border-color: #e0e0e0;       /* Subtle border */
  --logo-orange: #eb6100;        /* Corporate Orange */
  
  /* Layout & Spacing */
  --max-width: 1100px;
  --header-height: 80px;
  --contact-btn-width: 160px;
  
  /* Typography */
  --font-family: 'Noto Sans JP', sans-serif;
  --font-oswald: 'Oswald', sans-serif;
  
  /* Transitions (Minimal) */
  --transition-fast: all 0.2s ease;
  
  /* Shadows (Minimal, flat design preferred) */
  --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-white);
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

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

.container {
  width: 92%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

.bg-light {
  background-color: var(--accent-color);
}

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

.img-responsive {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 4px; /* Slight radius for corporate feel, not pill-shaped */
  transition: var(--transition-fast);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  gap: 12px;
}

.btn-icon {
  margin-bottom: 0;
  width: 20px;
  height: 20px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  transform: translateY(-2px); /* Light hover */
  box-shadow: var(--shadow-subtle);
}

.btn-orange {
  background-color: var(--logo-orange);
  color: var(--bg-white);
}

.btn-orange:hover {
  background-color: #d15600; /* slightly darker orange */
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary-color);
  font-weight: 700;
  border: 1px solid var(--bg-white);
  border-radius: 50px;
}

.btn-white:hover {
  background-color: transparent;
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-subtle);
  border-color: var(--bg-white);
}

.btn-large {
  padding: 16px 48px;
  font-size: 1.1rem;
}

/* --- HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--bg-white);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  padding-left: 40px;
  padding-right: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 64px;
}

.logo-main {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.05em;
}

.header-logo {
  height: 58px; /* 48px * 1.2 = 57.6px */
  width: auto;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  line-height: 1.25;
}

.logo-subtext {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.logo-text {
  font-size: calc(1.15rem - 2px);
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.05em;
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone-block {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.header-phone-label {
  font-size: 0.7rem;
  color: var(--text-main);
  margin-bottom: 2px;
  font-weight: 500;
}

.header-phone-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-icon {
  width: 16px;
  height: 16px;
  color: var(--primary-color);
}

.header-tel-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  font-family: var(--font-oswald);
}

.header-hours {
  font-size: 8.4px; /* 2px smaller than previous 0.65rem (10.4px) */
  color: var(--text-muted);
  text-align: left;
  line-height: 1.3;
}

.header-contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: var(--header-height);
  width: var(--contact-btn-width);
  background-color: var(--primary-color);
  color: var(--bg-white);
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.header-contact-btn:hover {
  background-color: var(--primary-dark);
  color: var(--bg-white);
}

.mail-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
  fill: currentColor;
}

.desktop-nav ul {
  display: flex;
  gap: 32px;
}

.desktop-nav a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  margin-top: var(--header-height);
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: var(--bg-white);
  min-height: 86vh;
  width: calc(100% - var(--contact-btn-width));
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% + var(--contact-btn-width));
  height: 40vh;
  background-color: var(--accent-color);
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/mv01_pc.jpg');
  background-size: cover;
  background-position: center;
  z-index: 2;
  pointer-events: none;
}

.scroll-indicator {
  position: absolute;
  right: calc(var(--contact-btn-width) * -0.5);
  bottom: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateX(50%);
  z-index: 10;
}

.scroll-text {
  writing-mode: vertical-rl;
  font-family: var(--font-oswald);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background-color: rgba(235, 97, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.scroll-line::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--logo-orange);
  animation: scrollLine 2.2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-left: 10vw;
}

.hero-content {
  position: relative;
  width: calc(427px + 96px); /* 427px content + 48px padding x 2 */
  max-width: 90vw;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 48px;
  border-radius: 0;
  box-shadow: var(--shadow-subtle);
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    /* Top-Left: Orange */
    linear-gradient(var(--logo-orange), var(--logo-orange)),
    linear-gradient(var(--logo-orange), var(--logo-orange)),
    /* Top-Right: Navy */
    linear-gradient(var(--primary-color), var(--primary-color)),
    linear-gradient(var(--primary-color), var(--primary-color)),
    /* Bottom-Right: Orange */
    linear-gradient(var(--logo-orange), var(--logo-orange)),
    linear-gradient(var(--logo-orange), var(--logo-orange)),
    /* Bottom-Left: Navy */
    linear-gradient(var(--primary-color), var(--primary-color)),
    linear-gradient(var(--primary-color), var(--primary-color));
  
  background-size:
    50px 6px, 6px 50px, /* TL */
    50px 6px, 6px 50px, /* TR */
    50px 6px, 6px 50px, /* BR */
    50px 6px, 6px 50px; /* BL */
    
  background-position:
    top left, top left, /* TL */
    top right, top right, /* TR */
    bottom right, bottom right, /* BR */
    bottom left, bottom left; /* BL */
    
  z-index: 2;
}

.hero-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-bottom: 24px;
}

.hero-badge-group {
  display: flex;
  gap: 3px;
}

.badge-char {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--logo-orange);
  color: var(--bg-white);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  border-radius: 0;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.4;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hero-cta .btn {
  width: 100%;
  box-sizing: border-box;
  border-radius: 50px;
}

.hero-tel {
  font-size: 0.95rem;
  color: var(--text-main);
}

.hero-tel strong {
  font-size: 1.25rem;
  color: var(--primary-color);
}

.hero-image img {
  border-radius: 4px;
  box-shadow: var(--shadow-subtle);
  width: 100%;
}

/* --- SECTION TYPOGRAPHY --- */
.section-header {
  margin-bottom: 48px;
}

.section-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.text-left .section-title::after {
  left: 0;
  transform: none;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* --- FEATURES SPLIT SECTION --- */
#features {
  position: relative;
  overflow: hidden;
}

#features::before {
  content: 'FEATURES';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-oswald);
  font-size: 220px;
  font-weight: 700;
  color: #FFFFFF;
  z-index: 0;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

#features .container {
  position: relative;
  z-index: 1;
}

.features-split {
  display: flex;
  gap: 64px;
  align-items: center;
}

.features-left {
  flex: 1;
}

.features-right {
  flex: 1;
}

.features-image-wrapper {
  position: relative;
  width: 100%;
}

.features-image-wrapper::before {
  content: '';
  position: absolute;
  top: -64px;
  right: -84px;
  width: 120px;
  height: 120px;
  background-color: var(--primary-color);
  z-index: 0;
}

.features-image-wrapper::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 40px;
  height: 40px;
  background-color: var(--logo-orange);
  z-index: 2;
}

.features-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

.features-subtitle {
  color: var(--primary-color);
  font-family: var(--font-oswald);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.features-main-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
  line-height: 1.3;
}

.features-divider {
  width: 40px;
  height: 2px;
  background-color: var(--border-color);
  border: none;
  margin-bottom: 24px;
}

.features-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.accordion-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

.accordion-num {
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--logo-orange);
  font-family: var(--font-oswald);
}

.accordion-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.accordion-icon {
  position: relative;
  width: 16px;
  height: 16px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--text-main);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.accordion-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.accordion-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.accordion-item.is-active .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.3, 1), padding-top 0.4s ease, opacity 0.4s ease;
  overflow: hidden;
  padding-top: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0;
}

.accordion-item.is-active .accordion-body {
  grid-template-rows: 1fr;
  padding-top: 16px;
  opacity: 1;
}

.accordion-body > p {
  min-height: 0;
}

.btn-outline-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 48px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 40px;
  background-color: transparent;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-arrow-icon {
  width: 10px;
  height: 10px;
  margin-left: 8px;
  transition: transform var(--transition-fast);
}

.btn-outline-primary:hover .btn-arrow-icon {
  transform: translateX(4px);
}

#industries {
  background-color: var(--primary-color);
  position: relative;
  z-index: 5;
  padding-bottom: 0;
}

#industries::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/industries01.jpeg');
  background-size: cover;
  background-position: calc(50% - 800px) center;
  filter: grayscale(100%);
  opacity: 0.65;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 70%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 70%);
}

#industries::after {
  content: "INDUSTRIES";
  position: absolute;
  top: 40px;
  right: var(--contact-btn-width);
  font-size: 220px;
  font-family: var(--font-oswald);
  font-weight: 700;
  color: var(--bg-white);
  opacity: 0.12; /* うっすら見える程度 */
  line-height: 0.8;
  pointer-events: none;
  z-index: 2;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

#industries .features-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

#industries .features-main-title {
  color: var(--bg-white);
}

#industries .features-divider {
  background-color: rgba(255, 255, 255, 0.3);
}

#industries .features-lead {
  color: rgba(255, 255, 255, 0.85);
}

.industries-split {
  display: flex;
  width: 100%;
  padding-left: calc((100vw - 1100px) / 2);
  padding-right: var(--contact-btn-width);
  align-items: flex-start; /* Aligned to top */
  gap: 48px;
  position: relative;
  z-index: 2;
}

.industries-left {
  flex: 0 0 430px;
  max-width: 100%;
}

.industries-right {
  flex: 1;
  padding-top: 100px;
  margin-bottom: -120px;
  position: relative;
  z-index: 10;
}

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

.industry-item {
  background-color: var(--bg-white);
  border-radius: 0;
  border: none;
  border-bottom: 4px solid var(--logo-orange);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  text-align: center;
  height: auto;
  min-height: 220px;
  overflow: hidden;
  box-sizing: border-box;
}

.industry-icon {
  width: 39px;
  height: 39px;
  margin-bottom: 6px;
  color: var(--logo-orange);
  flex-shrink: 0;
}

.industry-name {
  font-size: 1.2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.industry-haiku {
  font-size: 1rem;
  font-weight: 600;
  color: var(--logo-orange);
  margin-bottom: 6px;
  font-family: var(--font-noto);
  flex-shrink: 0;
}

.industry-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 0;
  flex-shrink: 0;
}

#industries .btn-outline-primary {
  color: var(--bg-white);
  border-color: var(--bg-white);
}

#industries .btn-outline-primary:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
}

@media (max-width: 1366px) {
  .industry-item {
    padding: 10px;
  }
  .industry-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 4px;
  }
  .industry-name {
    font-size: 1.05rem;
    margin-bottom: 2px;
  }
  .industry-haiku {
    font-size: 0.85rem;
    margin-bottom: 4px;
  }
  .industry-desc {
    font-size: 14px;
  }
}

/* --- SERVICES SECTION --- */
#services {
  padding-top: 240px; /* Offset the 120px negative margin overlap to keep 120px gap */
  position: relative;
  overflow: hidden;
}

#services::after {
  content: "SERVICES";
  position: absolute;
  bottom: -60px;
  right: -60px;
  font-family: var(--font-oswald);
  font-size: 220px;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  writing-mode: vertical-rl;
}

@media (max-width: 768px) {
  #services::after {
    font-size: 140px;
    right: -30px;
    bottom: -30px;
  }
}

#services .container {
  max-width: 1320px; /* 1.2x of standard 1100px container */
}

#services .section-header {
  margin-bottom: 60px;
  max-width: 800px;
}

.services-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.service-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  border-top: 4px solid var(--logo-orange);
}

.service-card-image {
  position: relative;
  overflow: hidden;
  height: 264px; /* 1.2x of 220px */
  width: 100%;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.service-card-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-badge {
  font-family: var(--font-oswald);
  font-size: 12px;
  font-weight: 400;
  color: var(--logo-orange);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.service-card-title {
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 16px;
}

.service-card-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-features-list {
  list-style: none;
  padding: 20px 0 0 0;
  margin: 0;
  border-top: 1px solid var(--border-color);
}

.service-features-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.service-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--logo-orange);
  font-weight: 900;
  font-size: 14px;
}

/* Responsive adjustment */
@media (max-width: 991px) {
  .services-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .service-card-image {
    height: 240px; /* 1.2x of 200px */
  }
  .service-card-content {
    padding: 24px;
  }
}

/* --- FLOW SECTION --- */
#flow {
  position: relative;
  overflow: hidden;
}

#flow::after {
  content: "FLOW";
  position: absolute;
  bottom: -60px;
  left: 20px;
  font-family: var(--font-oswald);
  font-size: 220px;
  font-weight: 700;
  color: var(--primary-color);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  writing-mode: vertical-rl;
}

@media (max-width: 768px) {
  #flow::after {
    font-size: 140px;
    left: 10px;
    bottom: -30px;
  }
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.flow-step {
  padding: 24px;
  border-top: 4px solid var(--logo-orange);
  background-color: var(--bg-white);
  border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow-subtle);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.step-content {
  flex: 1;
}

.step-number {
  font-family: var(--font-oswald);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.step-num-highlight {
  color: var(--logo-orange);
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.step-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.step-icon {
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-svg {
  width: 24px;
  height: 24px;
}

/* --- DATA SECTION --- */
#data {
  position: relative;
  background-color: var(--primary-color);
  overflow: hidden;
}

#data::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/data01.jpeg');
  background-size: cover;
  background-position: center;
  filter: grayscale(100%);
  opacity: 0.2;
  z-index: 1;
  pointer-events: none;
}

#data::after {
  content: "DATA";
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--font-oswald);
  font-size: 220px;
  font-weight: 700;
  color: var(--bg-white);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  #data::after {
    font-size: 140px;
    left: 10px;
    top: 10px;
  }
}

#data .container {
  position: relative;
  z-index: 2;
}

#data .features-subtitle {
  color: var(--bg-white);
}

#data .features-main-title {
  color: var(--bg-white);
}

#data .features-lead {
  color: rgba(255, 255, 255, 0.85);
}

#data .features-divider {
  background-color: rgba(255, 255, 255, 0.2);
}

#data .data-notes {
  color: rgba(255, 255, 255, 0.7);
}

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

.data-card {
  background: 
    /* Top Left: Navy */
    linear-gradient(var(--primary-color), var(--primary-color)) no-repeat left top / 30px 5px,
    linear-gradient(var(--primary-color), var(--primary-color)) no-repeat left top / 5px 30px,
    /* Top Right: Orange */
    linear-gradient(var(--logo-orange), var(--logo-orange)) no-repeat right top / 30px 5px,
    linear-gradient(var(--logo-orange), var(--logo-orange)) no-repeat right top / 5px 30px,
    /* Bottom Left: Orange */
    linear-gradient(var(--logo-orange), var(--logo-orange)) no-repeat left bottom / 30px 5px,
    linear-gradient(var(--logo-orange), var(--logo-orange)) no-repeat left bottom / 5px 30px,
    /* Bottom Right: Navy */
    linear-gradient(var(--primary-color), var(--primary-color)) no-repeat right bottom / 30px 5px,
    linear-gradient(var(--primary-color), var(--primary-color)) no-repeat right bottom / 5px 30px,
    /* Base background */
    var(--bg-white);
  border: none;
  border-radius: 0;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.data-card-wide {
  grid-column: span 2;
}

.data-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.data-card-info {
  flex: 1;
}

.data-card-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.data-card-date {
  font-size: 0.7rem;
  font-weight: 400;
  color: #999999;
  margin-left: 8px;
}

.data-card-number-large {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-oswald);
  line-height: 1.1;
}

.data-card-number-giant {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-oswald);
  line-height: 1;
}

.data-card-unit {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-left: 6px;
}

.data-card-unit-percent {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 2px;
}

.data-card-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 12px;
}

.age-stats, .gender-stats {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0;
}

.age-stat-item, .gender-stat-item {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.age-highlight {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-oswald);
}

.age-unit, .gender-unit {
  font-size: 1.1rem;
  font-weight: 700;
  margin-left: 2px;
}

.gender-male {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-oswald);
}

.gender-female {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--logo-orange);
  font-family: var(--font-oswald);
}

.gender-stat-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  margin: 0 4px;
}

.data-card-graphic {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.data-svg {
  width: 100%;
  height: 100%;
}

.data-notes {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 32px;
  line-height: 1.6;
}

/* Pyramid Specific Wide Layout */
.pyramid-layout {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.pyramid-info {
  flex: 1;
  max-width: 40%;
}

.pyramid-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  flex: 1.5;
}

.pyramid-row {
  display: flex;
  align-items: center;
  width: 100%;
}

.pyramid-col-left {
  width: 30%;
  display: flex;
  justify-content: flex-end;
  padding-right: 16px;
}

.pyramid-col-center {
  width: 40%;
  display: flex;
  justify-content: center;
}

.pyramid-col-right {
  width: 30%;
  display: flex;
  justify-content: flex-start;
  padding-left: 16px;
}

.pyramid-badge {
  background-color: var(--accent-color);
  color: var(--text-main);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  border-radius: 4px;
  white-space: nowrap;
}

.pyramid-tier {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.tier-top {
  width: 50%;
  background-color: var(--primary-color);
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
}

.tier-mid {
  width: 75%;
  background-color: rgba(0, 75, 135, 0.85);
  clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
}

.tier-bottom {
  width: 100%;
  background-color: rgba(0, 75, 135, 0.7);
  clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%);
}

.pyramid-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-oswald);
  line-height: 1;
}

.pyramid-unit {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-main);
  margin-left: 4px;
}

@media (max-width: 991px) {
  .data-grid {
    grid-template-columns: 1fr;
  }
  .data-card-wide {
    grid-column: span 1;
  }
  .pyramid-layout {
    flex-direction: column;
    align-items: stretch;
  }
  .pyramid-info {
    max-width: 100%;
    margin-bottom: 24px;
  }
}

@media (max-width: 768px) {
  .pyramid-row {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }
  .pyramid-col-left, .pyramid-col-center, .pyramid-col-right {
    width: 100%;
    justify-content: center;
    padding: 0;
  }
  .tier-top, .tier-mid, .tier-bottom {
    width: 80%;
  }
}

@media (max-width: 576px) {
  .data-card-body {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 16px;
  }
  .data-card-graphic {
    align-self: center;
  }
}

/* --- CTA SECTION --- */
.cta-section {
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--contact-btn-width);
  bottom: 0;
  aspect-ratio: 1 / 1;
  background-image: url('images/contact01.jpg');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

#contact::after {
  content: "CONTACT";
  position: absolute;
  top: 80px;
  left: 20px;
  font-family: var(--font-oswald);
  font-size: 220px;
  font-weight: 700;
  color: var(--bg-white);
  opacity: 0.05;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 991px) {
  #contact::after {
    font-size: 140px;
    left: 10px;
    top: 40px;
  }
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section .container > * {
  max-width: 55%;
}

@media (max-width: 991px) {
  .cta-section {
    padding: 80px 0 0 0;
  }
  .cta-section::before {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-top: 40px;
    right: auto;
  }
  .cta-section .container > * {
    max-width: 100%;
  }
}

.cta-title {
  font-size: 2rem;
  margin-bottom: 24px;
}

.cta-text {
  font-size: 1.05rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.cta-phone {
  color: var(--bg-white);
  display: block;
}

.phone-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}

.phone-number {
  font-family: var(--font-oswald);
  font-size: 3.08rem;
  font-weight: 400;
  color: var(--bg-white);
  margin-bottom: 4px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.phone-hours {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

/* --- FOOTER --- */
.site-footer {
  background-color: #f8f9fa;
  padding: 60px 0 20px;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 50px;
  width: auto;
}

.footer-logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  line-height: 1.25;
}

.footer-logo-subtext {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0;
}

.footer-address, .footer-tel {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links ul {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-main);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-family: var(--font-oswald);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #aeaeae;
}

/* --- MOBILE STICKY CTA --- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.btn-sticky {
  flex: 1;
  text-align: center;
  padding: 16px 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-sticky-tel {
  background-color: var(--bg-white);
  color: var(--primary-color);
  border-top: 1px solid var(--border-color);
}

.btn-sticky-mail {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- FIXED BOTTOM RIGHT BANNERS --- */
.fixed-banners {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 16px;
  z-index: 900;
  transition: opacity 0.4s ease, transform 0.4s ease, pointer-events 0.4s ease;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fixed-banners.fade-out {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.banner-btn {
  position: relative;
  width: 300px;
  height: 94px;
  border-radius: 0;
  border: 6px solid var(--bg-white);
  background-color: var(--primary-color);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.banner-img {
  width: 80px;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.banner-content {
  flex: 1;
  color: var(--bg-white);
  padding: 8px 12px;
  text-align: left;
}

.banner-subtext {
  display: block;
  font-size: 10px;
  margin-bottom: 4px;
  opacity: 0.9;
}

.banner-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.banner-arrow {
  color: var(--bg-white);
  padding-right: 16px;
  display: flex;
  align-items: center;
}

.banner-arrow-icon {
  width: 14px;
  height: 14px;
}

.disabled-banner {
  filter: grayscale(100%);
  pointer-events: none;
  cursor: default;
}

@media (max-width: 1280px) {
  .features-split, .industries-split {
    flex-direction: column;
    gap: 40px;
    align-items: stretch;
  }

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

  .industry-item {
    padding: 20px 12px;
    min-height: 180px;
  }

  .industries-split {
    padding-left: 4vw;
    padding-right: 4vw;
  }

  .industries-left, .industries-right {
    flex: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .industries-right {
    padding-top: 0;
    margin-bottom: -60px;
  }

  #industries::before {
    background-position: center;
  }

  #industries::after {
    display: none;
  }

  #services {
    padding-top: 180px; /* Offset the 60px negative margin overlap to keep 120px gap */
  }
}

@media (max-width: 991px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-grid, .industries-grid, .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .desktop-nav, .logo-text-group, .header-hours, .header-action, .scroll-indicator, .pc-only {
    display: none;
  }
  
  .menu-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 3px !important;
    width: 38px !important;
    height: 38px !important;
    background-color: var(--primary-color) !important;
    border-radius: 50% !important;
    padding: 0 !important;
    margin-left: 16px !important;
  }

  .menu-toggle .bar {
    width: 16px !important;
    height: 2px !important;
    background-color: var(--bg-white) !important;
  }

  .hero {
    width: 100%;
    align-items: flex-end !important;
    padding-top: 40px !important;
    padding-bottom: 60px !important;
  }

  .container {
    width: 90% !important;
  }

  .hero-inner {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
    padding-bottom: 0 !important;
  }

  .header-inner {
    padding-left: 5vw !important;
    padding-right: 5vw !important;
  }

  .header-logo {
    height: 50.4px;
  }

  .header-right {
    gap: 16px;
    margin-left: auto;
  }

  .header-action-group {
    gap: 12px;
  }

  .header-phone-block {
    align-items: flex-end;
    text-align: right;
  }

  .header-tel-number {
    font-size: 1.728rem;
  }

  .phone-icon {
    width: 20px;
    height: 20px;
  }

  .header-phone-label {
    font-size: 9px;
  }
  
  .hero-image {
    background-image: url('images/mv01_sp.jpg');
  }

  .badge-char {
    font-size: 20px;
    width: 32px;
    height: 32px;
  }

  .hero-title {
    font-size: 24px;
  }

  .hero-cta {
    display: none;
  }

  .hero-text {
    margin-bottom: 0;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .features-grid, .flow-steps {
    grid-template-columns: 1fr;
  }

  #features .btn-outline-primary {
    background-color: var(--primary-color) !important;
    color: var(--bg-white) !important;
  }

  #features .btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: var(--bg-white) !important;
  }

  #features .btn-outline-primary .btn-arrow-icon {
    transform: translateX(4px) !important;
  }

  #features .btn-outline-primary:hover .btn-arrow-icon {
    transform: translateX(4px) !important;
  }

  .features-image-wrapper::before {
    right: -5vw !important;
  }
  
  .footer-inner {
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
  }

  .footer-brand {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .footer-logo-img {
    height: 87.5px !important; /* 70% of 125px (1.75x of original 50px) */
    width: auto !important;
  }

  .footer-logo-text-group {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-address, .footer-tel {
    text-align: center !important;
  }
  
  .footer-links {
    display: none !important;
  }
  
  .mobile-sticky-cta {
    display: none !important;
  }
  
  .fixed-banners {
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    display: flex !important;
    gap: 0 !important;
    z-index: 999 !important;
    transform: none !important;
  }

  .fixed-banners.fade-out {
    transform: translateY(100%) !important;
  }

  .fixed-banners .banner-btn {
    flex: 1 !important;
    width: 50% !important;
    height: 60px !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 8px !important;
  }

  .fixed-banners .banner-btn:hover {
    transform: none !important;
    box-shadow: none !important;
  }

  .fixed-banners .banner-btn:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  .fixed-banners .banner-img,
  .fixed-banners .banner-arrow {
    display: none !important;
  }

  .fixed-banners .banner-content {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .fixed-banners .banner-title {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }

  .fixed-banners .banner-subtext {
    font-size: 8px !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
  }
  
  #industries {
    background: linear-gradient(to bottom, var(--primary-color) 75%, transparent 75%) !important;
  }

  #industries::before {
    background-image: url('images/industries01_sp.jpg') !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    height: 75% !important;
  }
  
  .cta-section {
    display: flex !important;
    flex-direction: column !important;
  }

  .cta-section .container {
    order: 1 !important;
  }

  .cta-section::before {
    order: 2 !important;
    margin-top: 40px !important;
  }

  .cta-actions {
    align-items: center !important;
  }

  .cta-phone {
    text-align: center !important;
  }
  
  body {
    padding-bottom: 60px !important;
  }
}

/* ================= PORTAL / GATEWAY PAGE ================= */
.portal-body {
  margin: 0;
  padding: var(--header-height) 0 0 0;
  box-sizing: border-box;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  background-color: #111111;
  font-family: var(--font-family);
  display: flex;
  flex-direction: column;
}

.portal-body * {
  box-sizing: border-box;
}

.portal-header {
  position: absolute;
  top: 40px;
  left: 50px;
  z-index: 100;
  pointer-events: auto;
}

.portal-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.portal-logo-img {
  height: 52px;
  width: auto;
}

.portal-logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.portal-logo-subtext {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.portal-logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-white);
  letter-spacing: 0.03em;
}

.split-container {
  display: flex;
  width: 100%;
  height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.split-panel {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: flex 0.8s cubic-bezier(0.25, 1, 0.3, 1), filter 0.8s cubic-bezier(0.25, 1, 0.3, 1);
  overflow: hidden;
  text-decoration: none;
}

/* Background images/placeholders for the split panels */
.split-panel.left .split-bg {
  background-color: #4a4a4a;
  background-image: url('images/index01.jpg');
}

.split-panel.right .split-bg {
  background-color: #2c2c2c;
  background-image: url('images/index02.jpg');
}

.split-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.split-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
  transition: background-color var(--transition-fast);
}

.split-content {
  position: relative;
  z-index: 3;
  color: var(--bg-white);
  text-align: center;
  padding: 0 40px;
  max-width: 500px;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.split-subtitle {
  font-family: var(--font-oswald);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--logo-orange);
  letter-spacing: 0.15em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.split-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
  white-space: nowrap;
}

.split-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.85;
}

.portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 36px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--bg-white);
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.split-panel.left .portal-btn:hover {
  background-color: var(--primary-color);
  border-color: transparent;
  color: var(--bg-white);
}

.split-panel.right .portal-btn:hover {
  background-color: var(--logo-orange);
  border-color: transparent;
  color: var(--bg-white);
}

/* Hover expansion effect on desktop */
@media (min-width: 769px) {
  .split-bg {
    width: 70vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .split-panel:hover {
    flex: 1.25;
  }
  
  .split-container:has(.split-panel:hover) .split-panel:not(:hover) {
    flex: 0.75;
    filter: brightness(0.7);
  }

  .split-panel:hover .split-content {
    transform: translateY(-8px);
  }
}

.portal-footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 100;
  pointer-events: none;
}

.portal-copyright {
  font-family: var(--font-oswald);
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  margin: 0;
}

/* Responsive / Mobile layout */
@media (max-width: 768px) {
  .portal-body {
    height: auto !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 0 !important;
  }

  .split-container {
    flex-direction: column !important;
    height: auto !important;
    overflow: visible !important;
  }
  
  .split-panel {
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
  }
  
  .portal-header {
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: center;
  }
  
  .portal-logo-subtext {
    font-size: 9px;
  }
  
  .portal-logo-text {
    font-size: 0.95rem;
  }
  
  .split-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }
  
  .split-text {
    font-size: 0.9rem;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .portal-btn {
    padding: 10px 28px;
    font-size: 0.9rem;
  }

  .split-panel.left .portal-btn {
    background-color: var(--primary-color) !important;
    border-color: transparent !important;
    color: var(--bg-white) !important;
  }

  .split-panel.right .portal-btn {
    background-color: var(--logo-orange) !important;
    border-color: transparent !important;
    color: var(--bg-white) !important;
  }

  .split-panel.left .portal-btn:hover,
  .split-panel.left .portal-btn:active {
    background-color: var(--primary-color) !important;
    border-color: transparent !important;
    color: var(--bg-white) !important;
  }

  .split-panel.right .portal-btn:hover,
  .split-panel.right .portal-btn:active {
    background-color: var(--logo-orange) !important;
    border-color: transparent !important;
    color: var(--bg-white) !important;
  }

  .portal-footer {
    position: relative !important;
    bottom: auto !important;
    padding: 20px 0 !important;
    pointer-events: auto !important;
  }
}
