:root {
  --color-primary: #1a1a2e;
  --color-secondary: #16213e;
  --color-accent: #c9a96e;
  --color-accent-light: #d4b97a;
  --color-bg: #f5f0eb;
  --color-bg-alt: #e8e4df;
  --color-text: #2d2d2d;
  --color-text-light: #6b6b6b;
  --color-white: #ffffff;
  --font-heading: 'Noto Serif SC', 'Georgia', serif;
  --font-body: 'Noto Sans SC', 'Helvetica Neue', sans-serif;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 40px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--color-accent);
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 60px;
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.accent-line {
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin: 20px auto 0;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid var(--color-accent);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}

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

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

.btn-primary:hover {
  background: var(--color-accent-light);
  border-color: var(--color-accent-light);
  color: var(--color-white);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.05em;
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  position: relative;
  padding: 4px 0;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-white);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 50%, #0f3460 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201, 169, 110, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(201, 169, 110, 0.08) 0%, transparent 40%);
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 49px, rgba(255,255,255,0.3) 50px),
    repeating-linear-gradient(90deg, transparent, transparent 49px, rgba(255,255,255,0.3) 50px);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(201, 169, 110, 0.4);
  border-radius: 24px;
  color: var(--color-accent);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-title span {
  color: var(--color-accent);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.9;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.8s;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 1.2s;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201, 169, 110, 0.6), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

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

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.intro-text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.9;
}

.intro-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.intro-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius);
  pointer-events: none;
}

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

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

.service-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 169, 110, 0.15);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.1), rgba(201, 169, 110, 0.05));
  margin-bottom: 24px;
  color: var(--color-accent);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.stats {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
}

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

.stat-item {
  padding: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.about-detail {
  background: var(--color-white);
}

.about-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

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

.about-info-list {
  list-style: none;
  margin-top: 24px;
}

.about-info-list li {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-bg-alt);
  font-size: 0.95rem;
}

.about-info-list li:last-child {
  border-bottom: none;
}

.about-info-label {
  font-weight: 500;
  color: var(--color-primary);
  min-width: 140px;
  flex-shrink: 0;
}

.about-info-value {
  color: var(--color-text-light);
}

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

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

.culture-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 48px 32px;
  text-align: center;
  border: 1px solid rgba(201, 169, 110, 0.1);
  transition: all var(--transition);
}

.culture-card:hover {
  border-color: rgba(201, 169, 110, 0.3);
  box-shadow: var(--shadow);
}

.culture-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-accent);
}

.culture-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.culture-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.culture-card p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.service-detail {
  padding: 100px 0;
}

.service-detail:nth-child(even) {
  background: var(--color-white);
}

.service-detail:nth-child(odd) {
  background: var(--color-bg);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-content h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.service-detail-content p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.9;
}

.service-detail-content ul {
  list-style: none;
  margin-top: 20px;
}

.service-detail-content ul li {
  padding: 8px 0;
  color: var(--color-text-light);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-detail-content ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.service-detail-image {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.1), rgba(201, 169, 110, 0.05));
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item h4 {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid var(--color-bg-alt);
}

.contact-map-placeholder {
  text-align: center;
  color: var(--color-text-light);
}

.contact-map-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1;
  opacity: 0.5;
  margin-bottom: 16px;
}

.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 0 32px;
}

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

.footer-brand {
  max-width: 320px;
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
}

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

.footer-links-group h4 {
  font-size: 0.9rem;
  color: var(--color-white);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-group ul li a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-links-group ul li a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-icp a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-icp a:hover {
  color: var(--color-accent);
}

.page-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201, 169, 110, 0.08) 0%, transparent 50%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--color-white);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

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

  .hero-desc {
    font-size: 1rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(26, 26, 46, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    backdrop-filter: blur(12px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .intro-grid,
  .about-detail-grid,
  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail-grid.reverse {
    direction: ltr;
  }

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

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

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .stat-number {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .container {
    padding: 0 16px;
  }

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

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