/* ================================
   Variables & Reset
   ================================ */
:root {
  --navy: #1a2d4a;
  --navy-dark: #0f1c32;
  --navy-deeper: #0a1525;
  --gold: #b8942e;
  --gold-light: #d4af37;
  --gold-gradient: linear-gradient(135deg, #b8942e 0%, #d4af37 50%, #c9a84c 100%);
  --gold-subtle: rgba(184, 148, 46, 0.12);
  --white: #ffffff;
  --off-white: #f8f7f5;
  --gray-bg: #f2f1ef;
  --text: #1a1a1a;
  --text-light: #666666;
  --border: #e0ddd8;
  --font-jp: 'Meiryo UI', 'Meiryo', sans-serif;
  --font-en: 'Trebuchet MS', 'Lucida Sans', sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
}

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

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

body {
  font-family: var(--font-jp);
  color: var(--text);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ================================
   Header
   ================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s;
}

.header.scrolled,
.header.header-dark {
  background: rgba(15, 28, 50, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  height: 85px;
}

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

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 200px;
  width: auto;
  transition: all 0.4s;
}

.logo-mobile { display: none; }

/* On scroll or dark header: white logo, sized to fit header */
.header.scrolled .logo-img,
.header.header-dark .logo-img {
  height: 166px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.header.scrolled .logo-img:hover,
.header.header-dark .logo-img:hover {
  opacity: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav a {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--navy-dark);
  letter-spacing: 0.06em;
  transition: color 0.4s;
  position: relative;
  padding: 4px 0;
}

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

/* Scrolled / dark header: white text */
.header.scrolled .nav a,
.header.header-dark .nav a {
  color: rgba(255,255,255,0.75);
}

.header.scrolled .nav a:hover,
.header.scrolled .nav a.active,
.header.header-dark .nav a:hover,
.header.header-dark .nav a.active {
  color: var(--gold-light);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

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

.nav-contact {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 24px !important;
  border-radius: 3px;
  font-weight: 500;
}

.nav-contact::after { display: none !important; }
.nav-contact:hover { background: var(--gold-light); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  transition: all 0.3s;
  transform-origin: center;
}

/* Hamburger X animation when open */
.hamburger.active span {
  background: var(--white) !important;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header.scrolled .hamburger span,
.header.header-dark .hamburger span {
  background: var(--white);
}

/* ================================
   Hero (Top page)
   ================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-dark);
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(184,148,46,0.08) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}

.hero-logo {
  height: 80px;
  margin: 0 auto 32px;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}

.hero-sub {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
  color: var(--gold-light);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

.hero-btn {
  display: inline-block;
  padding: 14px 44px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.2em;
  z-index: 2;
  animation: scrollBounce 2s infinite;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(184,148,46,0.3);
  margin: 8px auto 0;
}

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

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ================================
   Page Header (sub pages)
   ================================ */
.page-header {
  padding: 160px 0 80px;
  background: var(--navy-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,148,46,0.06) 0%, transparent 70%);
}

.page-header .section-label {
  color: var(--gold-light);
  opacity: 0.8;
}

.page-header-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.page-header-desc {
  margin-top: 16px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
}

/* ================================
   Sections Common
   ================================ */
.section {
  padding: 100px 0;
}

.section-white { background: var(--white); }
.section-offwhite { background: var(--off-white); }
.section-gray { background: var(--gray-bg); }
.section-dark {
  background: var(--navy-dark);
  color: var(--white);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 56px;
  letter-spacing: 0.04em;
}

.section-dark .section-title {
  color: var(--white);
}

.gold-line {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold-gradient);
  margin-bottom: 20px;
}

/* ================================
   Top: Services Preview
   ================================ */
.top-services {
  padding: 120px 0;
  background: var(--white);
}

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

.services-intro-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 2;
}

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

.service-preview {
  background: var(--off-white);
  padding: 36px 28px;
  border-left: 3px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
}

.service-preview:hover {
  border-left-color: var(--gold);
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.service-preview h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.service-preview p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

.service-preview .arrow {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-size: 0.85rem;
  transition: transform 0.3s;
}

.service-preview:hover .arrow {
  transform: translateX(4px);
}

/* ================================
   Top: Message
   ================================ */
.top-message {
  padding: 120px 0;
  background: var(--off-white);
}

.message-content {
  max-width: 700px;
}

.message-content blockquote {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.04em;
  border-left: 3px solid var(--gold);
  padding-left: 24px;
  margin-bottom: 24px;
  color: var(--navy-dark);
}

.message-content .message-author {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ================================
   Top: News
   ================================ */
.news-list {
  list-style: none;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.news-item:first-child {
  border-top: 1px solid var(--border);
}

.news-item:hover {
  background: var(--gold-subtle);
  padding-left: 12px;
}

.news-date {
  font-family: var(--font-en);
  font-size: 0.8rem;
  color: var(--text-light);
  flex-shrink: 0;
  width: 100px;
}

.news-tag {
  font-size: 0.7rem;
  padding: 2px 10px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.news-title {
  font-size: 0.9rem;
  font-weight: 400;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  transition: gap 0.3s;
}

.more-link:hover {
  gap: 14px;
}

/* ================================
   About Page
   ================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

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

.value-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.value-item:first-child {
  border-top: 1px solid var(--border);
}

.value-num {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.value-item h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 8px 0 4px;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Philosophy */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}

.philosophy-card {
  text-align: center;
  padding: 48px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.philosophy-card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.philosophy-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--gold-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
}

.philosophy-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.philosophy-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ================================
   Business Page
   ================================ */
.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.biz-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  padding: 40px 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.biz-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.biz-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

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

.biz-card-featured {
  grid-column: 1 / -1;
  background: var(--navy-dark);
  color: var(--white);
  border-color: var(--navy-dark);
}

.biz-card-featured:hover {
  border-color: var(--gold);
  background: var(--navy);
}

.biz-card-num {
  font-family: var(--font-en);
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.biz-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.biz-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

.biz-card-featured p {
  color: rgba(255,255,255,0.55);
}

.biz-arrow {
  display: inline-block;
  margin-top: 20px;
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 1.1rem;
  transition: transform 0.3s;
}

.biz-card:hover .biz-arrow {
  transform: translateX(6px);
}

/* ================================
   Insight Page
   ================================ */
.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.insight-card {
  display: block;
  padding: 32px 0;
  border-top: 2px solid var(--navy-dark);
  transition: all 0.3s;
}

.insight-card:hover {
  border-top-color: var(--gold);
}

.insight-date {
  font-family: var(--font-en);
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.insight-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 8px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 2px;
  margin-left: 8px;
}

.insight-card h3 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.6;
}

.insight-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ================================
   Company Page
   ================================ */
.company-table {
  max-width: 750px;
}

.company-row {
  display: flex;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}

.section-dark .company-row {
  border-bottom-color: rgba(255,255,255,0.1);
}

.company-label {
  width: 180px;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-shrink: 0;
  font-weight: 500;
}

.section-dark .company-label {
  color: rgba(255,255,255,0.45);
}

.company-value {
  font-size: 0.95rem;
}

/* ================================
   Recruit Section / Page
   ================================ */
.section-accent {
  background: var(--navy-dark);
  color: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.section-accent::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(184,148,46,0.05) 100%);
}

.recruit-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.recruit-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
}

.recruit-btn {
  display: inline-block;
  padding: 16px 40px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  transition: all 0.3s;
}

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

/* ================================
   Contact Page
   ================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2;
  margin-bottom: 24px;
}

.contact-detail {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-detail-label {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 4px;
}

.contact-detail-value {
  font-size: 0.95rem;
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-jp);
  font-size: 0.9rem;
  margin-bottom: 20px;
  transition: border-color 0.3s;
  border-radius: 3px;
}

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

.contact-form textarea {
  height: 160px;
  resize: vertical;
}

.submit-btn {
  display: inline-block;
  padding: 14px 48px;
  background: var(--navy-dark);
  color: var(--white);
  border: none;
  font-family: var(--font-jp);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background: var(--gold);
}

/* ================================
   Footer
   ================================ */
.footer {
  background: #080e18;
  color: var(--white);
  padding: 60px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand {
  grid-column: 1;
  grid-row: 1;
}

.footer-nav {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.footer-logo-img {
  height: 240px;
  margin-bottom: -48px;
  margin-left: -70px;
  margin-top: -72px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  display: block;
}

.footer-address {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  margin-top: 0;
}

.footer-nav {
  display: flex;
  gap: 64px;
}

.footer-nav-col h4 {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,148,46,0.2);
  color: rgba(255,255,255,0.8);
}

.footer-nav-col ul li {
  margin-bottom: 10px;
}

.footer-nav-col ul a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
}

.footer-nav-col ul a:hover {
  color: var(--gold-light);
}

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

.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  font-family: var(--font-en);
}

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

.footer-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  transition: color 0.3s;
}

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

/* ================================
   Privacy Policy
   ================================ */
.privacy-content {
  max-width: 800px;
}

.privacy-intro {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 48px;
}

.privacy-section {
  margin-bottom: 40px;
}

.privacy-section h2 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--navy-dark);
}

.privacy-section p {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text-light);
  margin-bottom: 12px;
}

.privacy-section ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
}

.privacy-section ul li {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text-light);
  padding-left: 20px;
  position: relative;
}

.privacy-section ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.privacy-contact {
  background: var(--off-white);
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  margin-top: 16px;
}

.privacy-contact p {
  margin-bottom: 4px;
  color: var(--text);
}

.privacy-contact a {
  color: var(--gold);
  text-decoration: underline;
}

.privacy-date {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ================================
   Scroll Reveal
   ================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s, transform 0.7s;
}

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

/* ================================
   Page transition
   ================================ */
.page-transition {
  animation: pageIn 0.5s ease-out;
}

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

/* ================================
   Responsive — Tablet (max-width: 1024px)
   ================================ */
@media (max-width: 1024px) {
  .header { height: 80px; }
  .header.scrolled,
  .header.header-dark { height: 68px; }

  .logo-img { height: 140px; }
  .header.scrolled .logo-img,
  .header.header-dark .logo-img { height: 120px; }

  .nav { gap: 20px; }
  .nav a { font-size: 0.78rem; }
  .nav-contact { padding: 6px 18px !important; }

  .footer-logo-img { height: 180px; margin-left: -50px; margin-top: -54px; }
}

/* ================================
   Responsive — Mobile (max-width: 768px)
   ================================ */
@media (max-width: 768px) {
  /* Header */
  .header { height: 64px; }
  .header.scrolled,
  .header.header-dark { height: 56px; }

  .header-inner {
    padding: 0 16px;
    margin-left: 0;
  }

  .logo-desktop { display: none; }
  .logo-mobile {
    display: block;
    height: 41px;
    margin-left: -8px;
  }

  .header.scrolled .logo-mobile,
  .header.header-dark .logo-mobile {
    height: 36px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
  }

  .hamburger { display: flex; }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: rgba(15, 28, 50, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    gap: 28px;
    transform: translateX(100%);
    transition: transform 0.4s;
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
  }

  .nav.open { transform: translateX(0); }

  .nav a {
    font-size: 1rem;
    color: rgba(255,255,255,0.8) !important;
  }

  .nav a:hover,
  .nav a.active {
    color: var(--gold-light) !important;
  }

  .nav-contact {
    margin-top: 8px;
  }

  /* Sections */
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }
  .page-header { padding: 100px 0 48px; }
  .page-header-title { font-size: 1.6rem; }
  .section-title { font-size: 1.3rem; margin-bottom: 36px; }

  /* Grids → single column */
  .services-intro { grid-template-columns: 1fr; gap: 40px; }
  .services-highlight { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .business-grid { grid-template-columns: 1fr; }
  .insight-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }

  .recruit-inner { flex-direction: column; text-align: center; }

  /* Company table */
  .company-row { flex-direction: column; gap: 4px; }
  .company-label { width: 100%; font-weight: 600; }

  /* Footer */
  .footer { padding: 48px 0 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { text-align: left; }
  .footer-logo-img {
    height: 140px;
    margin-left: -40px;
    margin-top: -40px;
  }
  .footer-address {
    margin-top: 16px;
    text-align: left;
  }
  .footer-nav {
    justify-self: start;
    gap: 32px;
    flex-wrap: wrap;
  }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  .news-item { flex-wrap: wrap; gap: 8px; }
  .news-date { width: auto; }

  /* Message */
  .message-content blockquote { font-size: 1.1rem; }
}

/* ================================
   Responsive — Small Mobile (max-width: 480px)
   ================================ */
@media (max-width: 480px) {
  /* Header */
  .header { height: 56px; }
  .header.scrolled,
  .header.header-dark { height: 50px; }

  .header-inner { padding: 0 12px; }

  .logo-mobile { height: 40px; }
  .header.scrolled .logo-mobile,
  .header.header-dark .logo-mobile { height: 36px; }

  /* Footer */
  .footer-nav { flex-direction: column; gap: 24px; }
  .footer-logo-img {
    height: 110px;
    margin-left: -30px;
    margin-top: -30px;
  }

  /* Page header */
  .page-header { padding: 84px 0 36px; }
  .page-header-title { font-size: 1.3rem; }
  .page-header-desc { font-size: 0.85rem; }

  /* Contact form */
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 10px 12px;
    font-size: 16px; /* Prevent iOS zoom on focus */
  }
}
