/* ================================================
   Silentele - Main Stylesheet
   Red & White Theme
   ================================================ */

/* CSS Variables */
:root {
  --color-primary: #f03406;
  --color-primary-dark: #c42905;
  --color-primary-light: #ff4a1f;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f8f8;
  --color-bg-dark: #1a1a1a;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-text-muted: #999999;
  --color-border: #e5e5e5;
  --color-border-dark: #333333;

  --font-primary: 'Noto Sans JP', 'Hiragino Sans JP', 'Yu Gothic', 'Meiryo', sans-serif;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;

  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  --spacing-xxl: 120px;

  --transition: all 0.3s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.8;
  font-size: 16px;
}

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

ul, ol {
  list-style: none;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.container-narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Typography */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-black);
  margin-bottom: var(--spacing-sm);
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-light);
  max-width: 600px;
  line-height: 1.8;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-header .section-desc {
  margin: var(--spacing-sm) auto 0;
}

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

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

.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

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

.btn-dark {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-dark:hover {
  background: #333;
}

/* ================================================
   ANNOUNCEMENT BAR
   ================================================ */
.announcement-bar {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1001;
  overflow: hidden;
}

.announcement-slider {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.announcement-item {
  opacity: 0;
  position: absolute;
  width: 100%;
  left: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.announcement-item.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

/* ================================================
   HEADER
   ================================================ */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.header .container,
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  font-size: 13px;
  color: var(--color-text);
  transition: var(--transition);
  font-family: var(--font-primary);
}

.lang-switch:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.lang-switch svg {
  flex-shrink: 0;
}

.lang-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-switch-btn {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid var(--color-border);
  cursor: pointer;
  font-size: 13px;
  color: var(--color-text);
  transition: var(--transition);
  font-family: var(--font-primary);
}

.lang-switch-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

#lang-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo img {
  height: 32px;
  width: auto;
}

.logo-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-black);
}

.logo-text span {
  color: var(--color-primary);
}

/* Navigation */
.nav-list {
  display: flex;
  gap: var(--spacing-lg);
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text);
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

.nav-badge {
  display: inline-block;
  padding: 2px 6px;
  font-size: 10px;
  font-weight: 600;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-black);
  transition: var(--transition);
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  text-align: center;
  box-sizing: border-box;
}

.hero-content .hero-eyebrow,
.hero-content .hero-title,
.hero-content .hero-subtitle {
  text-align: center;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  word-wrap: break-word;
  white-space: normal;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 18px);
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--spacing-lg);
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero-dot:hover {
  background: rgba(255,255,255,0.7);
}

.hero-dot.active {
  background: var(--color-primary);
  border-color: var(--color-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #000;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  padding: var(--spacing-xxl) 0;
  text-align: center;
}

.hero-image {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 600px;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: var(--spacing-xxl) 0;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-primary-light);
  text-transform: uppercase;
  margin-bottom: var(--spacing-md);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
  justify-content: center;
}

/* ================================================
   ABOUT SECTION
   ================================================ */
.about-preview {
  padding: var(--spacing-xxl) 0;
  background: var(--color-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  overflow: hidden;
}

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

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-primary);
  z-index: -1;
}

.about-content {
  padding: var(--spacing-lg) 0;
}

.about-content .section-title {
  margin-bottom: var(--spacing-md);
}

.about-content .section-desc {
  margin-bottom: var(--spacing-md);
}

.about-quote {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-primary);
  padding-left: var(--spacing-md);
  border-left: 3px solid var(--color-primary);
  margin: var(--spacing-lg) 0;
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.services {
  padding: var(--spacing-xxl) 0;
  background: var(--color-bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.service-card {
  background: var(--color-white);
  padding: var(--spacing-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  font-size: 28px;
}

.service-number {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-xs);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-black);
  margin-bottom: var(--spacing-sm);
}

.service-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ================================================
   CASES SECTION
   ================================================ */
.cases {
  padding: var(--spacing-xxl) 0;
  background: var(--color-white);
}

.cases-grid {
  display: grid;
  gap: var(--spacing-md);
}

.case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-bg-alt);
  overflow: hidden;
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: var(--shadow);
}

.case-content {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-number {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-sm);
}

.case-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-black);
  margin-bottom: var(--spacing-sm);
  line-height: 1.4;
}

.case-desc {
  font-size: 15px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.case-visual {
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.case-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ================================================
   STATS SECTION
   ================================================ */
.stats {
  padding: var(--spacing-xl) 0;
  background: var(--color-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 60px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
  display: none;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--color-white);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.1em;
}

/* ================================================
   NEWS SECTION
   ================================================ */
.news {
  padding: var(--spacing-xxl) 0;
  background: var(--color-bg-alt);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.news-card {
  background: var(--color-white);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.news-image {
  aspect-ratio: 16/10;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.news-icon {
  font-size: 48px;
  opacity: 0.3;
}

.news-content {
  padding: var(--spacing-md);
}

.news-date {
  font-size: 12px;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
  letter-spacing: 0.05em;
}

.news-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  line-height: 1.5;
  margin-bottom: var(--spacing-sm);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-primary);
}

.news-link:hover {
  gap: 10px;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta {
  padding: var(--spacing-xxl) 0;
  background: var(--color-primary);
  text-align: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
}

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

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

.cta-section .btn-primary:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.cta-section .btn-outline {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
}

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

.cta-section {
  padding: var(--spacing-xxl) 0;
  background: var(--color-primary);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content .cta-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.cta-content .cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  padding-bottom: var(--spacing-md);
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--color-bg-dark);
  color: var(--color-white);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-brand .logo {
  margin-bottom: var(--spacing-md);
}

.footer-brand .logo-text {
  color: var(--color-white);
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  max-width: 300px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
}

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

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.footer-tel {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Payment Icons */
.payment-icons {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.payment-icon {
  width: 40px;
  height: 24px;
  background: var(--color-white);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--color-black);
}

/* ================================================
   PAGE HEADER (Inner Pages)
   ================================================ */
.page-header {
  position: relative;
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-alt);
  text-align: center;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background: #111;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.page-header .section-label,
.page-header-title,
.page-header-desc,
.page-header .breadcrumb,
.page-header .breadcrumb a {
  position: relative;
  z-index: 1;
}

.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.page-header-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: var(--spacing-md);
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

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

.breadcrumb span {
  color: rgba(255,255,255,0.5);
}

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-hero {
  padding: var(--spacing-xxl) 0;
  background: var(--color-white);
}

.about-intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-intro .section-title {
  margin-bottom: var(--spacing-md);
}

.about-intro p {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 2;
}

.about-values {
  padding: var(--spacing-xxl) 0;
  background: var(--color-bg-alt);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

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

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  font-size: 36px;
  box-shadow: var(--shadow);
}

.value-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-black);
  margin-bottom: var(--spacing-xs);
}

.value-desc {
  font-size: 14px;
  color: var(--color-text-light);
}

.about-team {
  padding: var(--spacing-xxl) 0;
  background: var(--color-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

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

.team-image {
  width: 120px;
  height: 120px;
  background: var(--color-bg-alt);
  border-radius: 50%;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  border: 3px solid var(--color-primary);
}

.team-name {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--color-black);
  margin-bottom: 4px;
}

.team-role {
  font-size: 14px;
  color: var(--color-primary);
}

/* ================================================
   SERVICE PAGE
   ================================================ */
.service-detail {
  padding: var(--spacing-xxl) 0;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
  padding: var(--spacing-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even) > * {
  direction: ltr;
}

.service-item:last-child {
  border-bottom: none;
}

.service-visual {
  aspect-ratio: 4/3;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}

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

.service-info {
  padding: var(--spacing-lg) 0;
}

.service-info .service-number {
  margin-bottom: var(--spacing-sm);
}

.service-info .service-title {
  margin-bottom: var(--spacing-md);
}

.service-info .service-desc {
  margin-bottom: var(--spacing-md);
}

/* ================================================
   NEWS PAGE
   ================================================ */
.news-list {
  padding: var(--spacing-xxl) 0;
}

.news-featured {
  margin-bottom: var(--spacing-xl);
}

.news-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.news-featured-image {
  aspect-ratio: 16/10;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-featured-content {
  padding: var(--spacing-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-featured-content .news-date {
  margin-bottom: var(--spacing-sm);
}

.news-featured-content .news-title {
  font-size: 24px;
  margin-bottom: var(--spacing-md);
}

.news-featured-content .news-desc {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.news-archive {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact {
  padding: var(--spacing-xxl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.contact-info {
  padding: var(--spacing-lg);
  background: var(--color-bg-alt);
}

.contact-info h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  margin-bottom: var(--spacing-md);
}

.contact-info p {
  color: var(--color-text-light);
  margin-bottom: var(--spacing-md);
}

.contact-detail {
  margin-top: var(--spacing-lg);
}

.contact-item {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.contact-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  min-width: 80px;
}

.contact-value {
  font-size: 14px;
  color: var(--color-text);
}

.contact-form {
  padding: var(--spacing-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  color: var(--color-text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

/* ================================================
   ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .hero-image {
    display: none;
  }

  .hero-content {
    max-width: 100%;
  }

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

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

  .case-card {
    grid-template-columns: 1fr;
  }

  .case-visual {
    min-height: 200px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
  }

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

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

  .service-item {
    grid-template-columns: 1fr;
  }

  .service-item:nth-child(even) {
    direction: ltr;
  }

  .news-featured-card {
    grid-template-columns: 1fr;
  }

  .news-archive {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --spacing-xl: 60px;
    --spacing-xxl: 80px;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .nav-list {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero {
    height: 600px;
    min-height: 600px;
  }

  .hero-content {
    text-align: center;
    padding: 0 20px;
  }

  .hero-content .hero-eyebrow,
  .hero-content .hero-title,
  .hero-content .hero-subtitle {
    white-space: normal;
  }

  .hero-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .hero-eyebrow {
    font-size: 11px;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .news-archive {
    grid-template-columns: 1fr;
  }
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-md);
  box-shadow: var(--shadow);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: var(--spacing-sm) 0;
  font-size: 16px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

/* ================================================
   AI PAGE STYLES
   ================================================ */

/* AI Page Header */
.page-header-ai {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden;
}

.page-header-ai .page-header-bg {
  position: absolute;
  inset: 0;
}

.page-header-ai .page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.page-header-ai .container {
  position: relative;
  z-index: 2;
}

/* AI Intro Section */
.ai-intro {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg);
}

.ai-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.ai-intro-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ai-intro-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.ai-intro-content .section-title {
  margin-bottom: var(--spacing-md);
}

.ai-stats {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
}

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

.ai-stat-value {
  display: block;
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.ai-stat-label {
  display: block;
  font-size: 13px;
  color: var(--color-text-light);
  margin-top: 8px;
}

/* AI Tech EC Section */
.ai-tech-ec {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-alt);
}

.tech-ec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.tech-ec-card {
  background: var(--color-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.tech-ec-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.tech-ec-icon {
  height: 180px;
  overflow: hidden;
}

.tech-ec-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-ec-content {
  padding: var(--spacing-md);
}

.tech-ec-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-black);
}

.tech-ec-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* AI Services EC Section */
.ai-services-ec {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg);
}

.services-ec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.service-ec-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: var(--spacing-lg);
  transition: var(--transition);
}

.service-ec-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.service-ec-number {
  display: inline-block;
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: var(--spacing-sm);
}

.service-ec-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  color: var(--color-black);
}

.service-ec-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.7;
}

/* AI Benefits EC Section */
.ai-benefits-ec {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-alt);
}

.ai-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.ai-benefits-content .section-title {
  margin-bottom: var(--spacing-lg);
}

.ai-benefits-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.ai-benefit-item {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
}

.ai-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 16px;
  flex-shrink: 0;
}

.ai-benefit-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 4px;
}

.ai-benefit-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

.ai-benefits-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ai-benefits-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

/* AI Process Section */
.ai-process {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg);
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  padding: var(--spacing-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: var(--transition);
}

.process-step:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.step-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.5;
  flex-shrink: 0;
  width: 60px;
}

.step-content {
  flex: 1;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-black);
}

.step-desc {
  font-size: 14px;
  color: var(--color-text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .ai-intro-grid,
  .ai-benefits-grid {
    grid-template-columns: 1fr;
  }

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

  .ai-intro-image img,
  .ai-benefits-image img {
    height: 280px;
  }

  .ai-stats {
    justify-content: center;
  }

  .step-number {
    width: 40px;
    font-size: 24px;
  }
}

/* ================================================
   ARTICLE STYLES
   ================================================ */
.article {
  padding: var(--spacing-xl) 0;
}

.article .container-narrow {
  max-width: 800px;
}

.article-meta {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--color-border);
}

.article-date {
  font-size: 14px;
  color: var(--color-text-muted);
}

.article-category {
  font-size: 12px;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 4px 12px;
  border-radius: 4px;
}

.article-content {
  font-size: 16px;
  line-height: 2;
  color: var(--color-text);
}

.article-lead {
  font-size: 18px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid var(--color-border);
}

.article-content h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-black);
  margin: var(--spacing-lg) 0 var(--spacing-md);
}

.article-content p {
  margin-bottom: var(--spacing-md);
}

.article-content ul {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-lg);
}

.article-content ul li {
  margin-bottom: var(--spacing-sm);
  list-style: disc;
  line-height: 1.8;
}

.article-content strong {
  font-weight: 600;
}

.article-footer {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
}

/* Related News */
.related-news {
  padding: var(--spacing-xl) 0;
  background: var(--color-bg-alt);
}

.related-news .section-title {
  font-size: 20px;
  margin-bottom: var(--spacing-lg);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.related-card {
  display: block;
  padding: var(--spacing-md);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: var(--transition);
}

.related-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow);
}

.related-date {
  display: block;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.related-title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-black);
}

@media (max-width: 768px) {
  .related-grid {
    grid-template-columns: 1fr;
  }

  .article-footer {
    flex-direction: column;
  }

  .article-footer .btn {
    width: 100%;
    text-align: center;
  }
}