/* ===== BASE STYLES ===== */
body {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  background: #fff;
  color: #000;
  min-height: max(884px, 100dvh);
}

/* ===== BRAND COLORS ===== */
.bg-brand-primary { background: #000; }
.text-brand-primary { color: #000; }
.text-brand-secondary { color: #fff; }

/* ===== BORDERS & SHADOWS ===== */
.high-contrast-border {
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #333;
}

.anime-border {
  border: 3px solid #000;
  box-shadow: 3px 3px 0 #333;
}

/* ===== TYPOGRAPHY ===== */
.anime-text {
  font-weight: 900;
  letter-spacing: 0.05em;
}

/* 統合：vertical-text / vertical-text-left */
.vertical-text,
.vertical-text-left {
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 0.25rem;
}

.slashed-zero {
  font-variant-numeric: slashed-zero;
  font-weight: bold;
}

/* ===== BUTTONS ===== */
.anime-button {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid #000;
  box-shadow: 2px 2px 0 #000;
  transition: 0.1s;
}

.anime-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #000;
}

.anime-button:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 #000;
}
/* --- 金色ハイライト（HyperXの世界観に合うフラットな黄金色） --- */
.highlight-gold {
  color: #FACC15;
  font-weight: 900;
  letter-spacing: 0.02em;
}
/* ===== TOOL STACK LABELS ===== */
/* .stack-col { 余白のバランスを微修正したい場合に使う拡張用フック } */

.stack-label {
  display: inline-block;
  background: #fff;
  color: #000;
  border: 2px solid #000;      /* high-contrast-border と同系 */
  box-shadow: 2px 2px 0 #333;  /* 既存ルック＆フィールに合わせる */
  border-radius: 9999px;       /* pill */
  padding: 0.25rem 0.75rem;    /* 4px 12px */
  font-weight: 900;
  font-size: 0.75rem;          /* text-sm 相当 */
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 auto 0.25rem;      /* 中央配置 */
}

.tool-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #fff;
  border: 2px solid #000;
  border-radius: 0.375rem;
  box-shadow: 2px 2px 0 #333;
}

/* 1カラムが基本。6個以上あるときだけ2カラムにする */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;   /* デフォルトは縦1列 */
  row-gap: 1rem;
  column-gap: 0;
  justify-items: center;
  margin-top: 0.5rem;
}

/* 子要素が6個以上なら 2 列へ */
.tool-grid:has(.tool-icon-container:nth-child(n+6)) {
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1rem;
}

.stack-col { text-align: center; }

/* ==== FAQ Typography ==== */
.faq-card { line-height: 1.8; }                /* 本文の行間 */
.faq-q { letter-spacing: .02em; }              /* 見出しの字間を少し */
.faq-a { color: #111; }                        /* 黒寄りの本文色 */
.faq-badge {
  display:inline-flex; align-items:center; justify-content:center;
  min-width:1.75rem; height:1.25rem; padding:0 .4rem;
  font-weight:900; font-size:.7rem; letter-spacing:.06em;
  border:2px solid #000; box-shadow:2px 2px 0 #333; border-radius:9999px;
  background:#fff; color:#000; margin-right:.5rem;
}
.faq-divider { border-top:2px solid #000; opacity:.25; }

/* ===== ANIMATIONS ===== */
.animate__animated.animate__delay-100ms { animation-delay: 100ms; }
.animate__animated.animate__delay-300ms { animation-delay: 300ms; }
.animate__animated.animate__delay-500ms { animation-delay: 500ms; }
.animate__animated.animate__delay-700ms { animation-delay: 700ms; }
.animate__animated.animate__delay-1s { animation-delay: 1s; }
.animate__animated.animate__delay-1500ms { animation-delay: 1.5s; }
.animate__animated.animate__delay-2s { animation-delay: 2s; }
.animate__animated.animate__delay-2500ms { animation-delay: 2.5s; }
.animate__animated.animate__delay-3s { animation-delay: 3s; }

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: #000;
  margin-left: 0;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

//* ===== 信頼実績：横スクロールギャラリー（高級版） ===== */

.trust-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* 速度は CSS カスタムプロパティで制御（JSで自動計算） */
.trust-carousel {
  display: flex;
  align-items: center;
  will-change: transform;
  animation-name: trustScroll;
  animation-timing-function: linear;         /* ループのつなぎ目を滑らかにするため linear */
  animation-iteration-count: infinite;
  animation-duration: var(--trust-duration, 40s);
  transform: translateX(0);
}

.trust-card {
  display: inline-flex;
  background: #fff;
  padding: 1rem 0;
}

.trust-card p {
  white-space: normal;  /* テキストが途中で切れないように */
}

/* 無限スクロール用 keyframes（距離はJSから渡す） */
@keyframes trustScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--trust-translate, -1000px));
  }
}

/* ホバー中は一時停止（高級感あるインタラクション） */
.trust-carousel-wrapper:hover .trust-carousel {
  animation-play-state: paused;
}

/* 世界No.1 ClickUpパートナー ゴールド強調 */
.highlight-gold {
  color: #FACC15;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  position: fixed;
  top: 50%;
  right: -450px;
  transform: translateY(-50%);
  width: 450px;
  height: 80vh;
  transition: right 0.5s ease;
  z-index: 100;
}
.contact-form.active { right: 0; }

.contact-toggle {
  position: absolute;
  top: 50%;
  left: -40px;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  width: 40px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px 0 0 8px;
  font-weight: bold;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.contact-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  color: #000;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  border: 2px solid #000;
  z-index: 10;
}
.contact-close-btn:hover { background: #f0f0f0; }

.contact-form-content {
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

/* ===== HERO SECTION ===== */
.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.85);
}

/* ===== BLOG STYLES ===== */
.blog-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.blog-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #000;
}
.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}
.blog-content p { margin-bottom: 1.25rem; line-height: 1.8; }
.blog-content ul, .blog-content ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.blog-content ul { list-style-type: disc; }
.blog-content ol { list-style-type: decimal; }
.blog-content li { margin-bottom: 0.5rem; line-height: 1.6; }
.blog-content blockquote {
  border-left: 4px solid #000;
  padding-left: 1rem;
  font-style: italic;
  margin: 1.5rem 0;
}
.blog-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 0.375rem;
}
.blog-content a {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
}
.blog-content a:hover { text-decoration: none; }

/* ===== ABOUT PAGE SPECIFIC ===== */
.high-contrast-border > h2 {
  border-left: 8px solid #000;
  padding-left: 1rem;
}

/* ===== FOOTER IMPROVEMENTS ===== */
footer .footer-links { position: relative; }
footer .footer-links::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0;
  bottom: 0;
  width: 4px;
  background: #fff;
  border-radius: 2px;
}

footer h4.quick-links-title {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
}
footer h4.quick-links-title::before {
  content: '▶';
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-size: 0.875rem;
}

/* Services Subsection Title */
footer h5.services-subsection-title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 0.75rem;
}

footer h5.services-subsection-title::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 0;
  color: #999;
  font-size: 0.75rem;
}

/* Services Link Styling */
footer .services-link {
  font-size: 0.875rem;
  color: #bbb;
  transition: all 0.3s ease;
}

footer .services-link:hover {
  color: #fff;
  transform: translateX(6px);
}

/* Enhanced link hover animations */
/* 修正点：下線アニメは ::after を使用してアイコン(::before)と競合しないように */
footer .footer-link {
  position: relative;
  display: inline-block;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
}
footer .footer-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}
footer .footer-link:hover::after { width: 100%; }
footer .footer-link:hover {
  transform: translateX(8px);
  color: #fff;
}

/* ===== GENERAL LINK HOVER ANIMATIONS ===== */
header nav a, .nav-link {
  position: relative;
  transition: all 0.3s ease;
}
header nav a::after, .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #000;
  transition: width 0.3s ease;
}
header nav a:hover::after, .nav-link:hover::after { width: 100%; }
header nav a:hover, .nav-link:hover { transform: translateY(-2px); }

/* ===== 準備中 (IN PREPARATION) STYLING ===== */
.in-preparation {
  position: relative;
  opacity: 0.6;
  pointer-events: none;
}
.in-preparation::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #000;
  transform: translateY(-50%);
  z-index: 1;
}
/* 統合（重複削除＋animation付与） */
.in-preparation::after {
  content: '準備中';
  position: absolute;
  top: -2rem;
  right: -1rem;
  background: #ff6b6b;
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: bold;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ===== NEW TAB ICON ===== */
a[target="_blank"]::before {
  content: url('https://images.ctfassets.net/8be45zcwrzdj/5eR7T3NGeuO31d8e7o9HdU/56c39cd92e30192438127717944f3795/new_tab_icon.png?w=10&h=10&fit=fill&fm=png&q=80');
  display: inline-block;
  margin-left: 4px;
  margin-right: 2px;
  opacity: 0.8;
  vertical-align: text-top;
  transition: opacity 0.3s ease;
  width: 10px;
  height: 10px;
}

a[target="_blank"]:hover::before {
  opacity: 1;
}

/* フッター内のリンクは::afterで下線アニメーションを維持 */
footer a[target="_blank"]::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #fff;
  transition: width 0.3s ease;
}

footer a[target="_blank"]:hover::after {
  width: 100%;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  .contact-form {
    width: 100vw;
    height: 100vh;
    top: 0;
    transform: none;
    right: -100vw;
  }
  .contact-form.active { right: 0; }

  .contact-toggle {
    left: -50px;
    width: 50px;
    height: 100px;
    font-size: 0.75rem;
  }

  footer h4.quick-links-title::before { font-size: 0.75rem; }

  .in-preparation::after {
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
    top: -1.5rem;
    right: -0.5rem;
  }
}

/* ===== SERVICES DROPDOWN ===== */
/* ===== SERVICES DROPDOWN (final) ===== */
.services-dropdown { position: relative; }

.services-dropdown:hover .services-dropdown-menu,
.services-dropdown:focus-within .services-dropdown-menu,
.services-dropdown-menu:hover {
  display: block;           /* まず表示を確定 */
  opacity: 1;
  transform: translateY(0);
}

.services-dropdown-menu {
  position: absolute;
  top: 100%; left: 0;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,.1);
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  min-width: 240px;
  /* ← 重要: margin-top は付けない（ギャップで hover が切れるため） */
  padding: 8px 0;

  display: none;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9999;
}

.services-dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #374151;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease, border-bottom-color .15s ease;
  border-bottom: 1px solid transparent;
}
.services-dropdown-menu a:hover {
  background-color: #f9fafb;
  color: var(--brand-primary, #000);
  border-bottom-color: #e5e7eb;
}

.services-dropdown button {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center;
  color: inherit; font: inherit; font-weight: 700;
}

.services-dropdown button:hover {
    color: var(--brand-primary);
}

/* Black new tab icon for header services dropdown */
.new-tab-black::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url('https://images.ctfassets.net/8be45zcwrzdj/4R5HWaOaXjQ0bYh8oOPZVi/024caeec6f5ae56506325185fa896783/new_tab_icon_black.png?w=12&h=12&fit=fill&fm=png&q=80');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 6px;
    vertical-align: text-top;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.new-tab-black:hover::before {
    opacity: 1;
}

/* ===== LANDING PAGE CVR OPTIMIZATIONS ===== */
/* Japanese Typography Optimization for Landing Pages */
.lp-japanese h1, .lp-japanese h2, .lp-japanese h3 {
    letter-spacing: 0.03em;
}

.lp-japanese p {
    line-height: 1.9;
}

/* Landing Page Section Titles */
.lp-section-title {
    font-weight: 900;
    border-left: 6px solid #000;
    padding-left: 1rem;
    margin-bottom: 2rem;
    font-size: clamp(1.875rem, 4vw, 3rem);
}

/* Enhanced CTA Button */
.lp-cta-button {
    background: linear-gradient(135deg, #facc15 0%, #fde047 100%);
    color: #000;
    box-shadow: 0 4px 0 #000, 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: all 0.2s ease;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.lp-cta-button:hover {
    background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #000, 0 12px 30px rgba(0, 0, 0, 0.3);
}

.lp-cta-button:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #000, 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section Optimizations */
.lp-hero-container {
    max-width: 80rem;
    margin: 0 auto;
}

.lp-hero-text {
    max-width: 64rem;
    margin: 0 auto;
}

/* Scroll Indicator */
.lp-scroll-indicator {
    position: relative;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Service Feature Cards with Hover Effects */
.lp-feature-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.lp-feature-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Process Timeline Enhancement */
.lp-process-step {
    position: relative;
}

.lp-process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, currentColor 0%, transparent 100%);
    opacity: 0.3;
}

/* Before/After Split Layout */
.lp-before-after-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.lp-before-after-divider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ef4444, #10b981);
    z-index: 10;
    transform: translateX(-50%);
}

/* FAQ Accordion Styling - Native Details/Summary */
.lp-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.lp-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.lp-faq-question {
    background: #f9fafb;
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s ease;
}

.lp-faq-question::-webkit-details-marker {
    display: none;
}

.lp-faq-question::marker {
    display: none;
}

.lp-faq-question:hover {
    background: #f3f4f6;
}

.lp-faq-answer--plain {
    padding: 1.5rem;
    background: white;
    border-top: 1px solid #f3f4f6;
}

.lp-faq-toggle {
    transition: transform 0.3s ease;
}

details[open] .lp-faq-toggle {
    transform: rotate(180deg);
}

/* Mobile Sticky CTA */
.lp-mobile-sticky-cta {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 1000;
    display: none;
    animation: slideInUp 0.5s ease;
}

@media (max-width: 768px) {
    .lp-mobile-sticky-cta {
        display: block;
    }
    
    .lp-mobile-sticky-cta.visible {
        display: block;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Enhanced Testimonial Cards */
.lp-testimonial-card {
    transition: all 0.3s ease;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.lp-testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Pricing Card Enhancements */
.lp-pricing-recommended {
    position: relative;
    overflow: visible;
}

.lp-pricing-badge {
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.5);
    }
    100% {
        box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
    }
}

/* Parallax CTA Background */
.lp-parallax-cta {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #2563eb 100%);
    position: relative;
    overflow: hidden;
}

.lp-parallax-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ===== MOBILE NAVIGATION ===== */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    transition: right 0.3s ease;
    backdrop-filter: blur(5px);
}

.mobile-nav-menu.active {
    right: 0;
}

.mobile-nav-content {
    background: #fff;
    width: 280px;
    height: 100vh;
    margin-left: auto;
    padding: 2rem 1.5rem;
    position: relative;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.mobile-nav-close:hover {
    background: #f3f4f6;
}

.mobile-nav-links {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    color: #000;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    transition: color 0.2s ease;
    position: relative;
}

.mobile-nav-link:hover {
    color: #000;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #000;
    transition: width 0.3s ease;
}

.mobile-nav-link:hover::after {
    width: 100%;
}

/* Mobile Services Submenu */
.mobile-services-section {
    border-bottom: 1px solid #e5e7eb;
}

.mobile-services-toggle {
    background: none;
    border: none;
    color: #000;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 1rem 0;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.mobile-services-toggle:hover {
    color: #000;
}

.mobile-services-arrow {
    transition: transform 0.3s ease;
}

.mobile-services-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 1rem;
}

.mobile-services-menu.active {
    max-height: 200px;
    padding-bottom: 1rem;
}

.mobile-services-link {
    display: block;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 0;
    transition: color 0.2s ease;
    position: relative;
}

.mobile-services-link:hover {
    color: #000;
}

.mobile-services-link::before {
    content: '▸';
    margin-right: 0.5rem;
    color: #999;
    transition: color 0.2s ease;
}

.mobile-services-link:hover::before {
    color: #000;
}

/* Body overflow control for mobile menu */
body.mobile-nav-open {
    overflow: hidden;
}

@media (max-width: 767px) {
    .mobile-nav-menu {
        display: block;
    }
}

@media (min-width: 768px) {
    .mobile-nav-menu {
        display: none;
    }
}