/*
Theme Name: yagni
Theme URI: https://yagni.co.jp
Author: yagni
Author URI: https://yagni.co.jp
Description: yagni.co.jp コーポレートサイト カスタムテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yagni
*/

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #333;
  line-height: 1.8;
  background: #fff;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* ============================================
   Utility
   ============================================ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #003876;
  margin-bottom: 40px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background: #1D81F9;
  color: #fff;
}

.btn-primary:hover {
  background: #003876;
  box-shadow: 0 4px 12px rgba(0, 56, 118, 0.3);
}

.btn-outline {
  background: transparent;
  color: #1D81F9;
  border: 2px solid #1D81F9;
}

.btn-outline:hover {
  background: #1D81F9;
  color: #fff;
}

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

.site-header.scrolled {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo a {
  display: flex;
  align-items: center;
}

.site-logo-img {
  height: 36px;
  width: auto;
}

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

.global-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}

.global-nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #1D81F9;
  transition: width 0.3s;
}

.global-nav a:hover {
  color: #1D81F9;
}

.global-nav a:hover::after {
  width: 100%;
}

.nav-contact a {
  background: #1D81F9;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-contact a::after {
  display: none;
}

.nav-contact a:hover {
  background: #003876;
}

/* Front page: white nav when hero is visible (not yet scrolled) */
.home .site-header:not(.scrolled) .global-nav a {
  color: rgba(255, 255, 255, 0.9);
}
.home .site-header:not(.scrolled) .global-nav a:hover {
  color: #fff;
}
.home .site-header:not(.scrolled) .global-nav a::after {
  background: rgba(255, 255, 255, 0.8);
}
.home .site-header:not(.scrolled) .hamburger span {
  background: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #003876;
  transition: transform 0.3s, opacity 0.3s;
}

.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);
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f1fc 100%);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgb(0 121 255 / 45%) 0%, rgb(0 0 0 / 30%) 100%);
  z-index: 2;
}

.hero-content {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 3;
}

.hero-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin-bottom: 40px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   Services Cards
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 32px;
  transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0, 56, 118, 0.1);
  transform: translateY(-4px);
}

.service-card-icon {
  width: 80px;
  height: 80px;
  background: #f0f6ff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 2rem;
  color: #1D81F9;
}

.service-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #003876;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: #5C5F6B;
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card .card-link {
  font-size: 0.85rem;
  color: #1D81F9;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-card .card-link::after {
  content: "→";
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: #003876;
  padding: 60px 0;
  text-align: center;
}

.cta-section .cta-text {
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.cta-section .btn-primary {
  background: #1D81F9;
}

.cta-section .btn-primary:hover {
  background: #fff;
  color: #003876;
}

/* ============================================
   Page Header
   ============================================ */
.page-header {
  background: linear-gradient(135deg, #f0f6ff 0%, #e8f1fc 100%);
  padding: 120px 0 60px;
  text-align: center;
}

.page-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #003876;
}

.page-header p {
  font-size: 1rem;
  color: #5C5F6B;
  margin-top: 16px;
  line-height: 1.8;
}

/* ============================================
   Service Detail
   ============================================ */
.service-detail {
  padding: 60px 0;
}

.service-detail-description {
  font-size: 1rem;
  color: #5C5F6B;
  line-height: 1.8;
  margin-bottom: 40px;
  text-align: center;
}

.service-detail-list {
  max-width: 640px;
  margin: 0 auto;
}

.service-detail-list h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #003876;
  margin-bottom: 20px;
}

.service-detail-list ul {
  list-style: none;
}

.service-detail-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e8ecf1;
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-detail-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #1D81F9;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e8ecf1;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #003876;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Noto Sans JP", sans-serif;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: #1D81F9;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  content: "−";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: #5C5F6B;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* ============================================
   About
   ============================================ */
.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-block {
  margin-bottom: 48px;
}

.about-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #003876;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1D81F9;
}

.about-block p {
  font-size: 0.95rem;
  color: #5C5F6B;
  line-height: 1.8;
}

.about-table {
  width: 100%;
  border-collapse: collapse;
}

.about-table th,
.about-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e8ecf1;
  font-size: 0.9rem;
  text-align: left;
  vertical-align: top;
}

.about-table th {
  width: 140px;
  font-weight: 600;
  color: #003876;
  background: #f8fafc;
}

.about-table td {
  color: #333;
}

/* ============================================
   Contact
   ============================================ */
.contact-section {
  padding: 60px 0 80px;
}

.contact-intro {
  text-align: center;
  font-size: 1rem;
  color: #5C5F6B;
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #f8fafc;
  padding: 40px;
  border-radius: 8px;
}

/* Contact Form 7 */
.contact-form-wrap .wpcf7-form p {
  margin-bottom: 20px;
}

.contact-form-wrap label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #003876;
  margin-bottom: 8px;
}

.contact-form-wrap .required {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-left: 4px;
}

.contact-form-wrap .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
}

.contact-form-wrap input[type="text"],
.contact-form-wrap input[type="email"],
.contact-form-wrap input[type="tel"],
.contact-form-wrap textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #dde1e7;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: "Noto Sans JP", sans-serif;
  transition: border-color 0.3s;
  background: #fff;
}

.contact-form-wrap input:focus,
.contact-form-wrap textarea:focus {
  outline: none;
  border-color: #1D81F9;
  box-shadow: 0 0 0 3px rgba(29, 129, 249, 0.1);
}

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

.contact-form-wrap input[type="submit"] {
  display: inline-block;
  padding: 14px 40px;
  background: #1D81F9;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  font-family: "Noto Sans JP", sans-serif;
}

.contact-form-wrap input[type="submit"]:hover {
  background: #003876;
}

.contact-form-wrap .wpcf7-not-valid-tip {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 4px;
  display: block;
}

.contact-form-wrap .wpcf7-not-valid {
  border-color: #e53e3e;
}

.contact-form-wrap .wpcf7-response-output {
  margin: 20px 0 0;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  border: none;
}

.contact-form-wrap .wpcf7-mail-sent-ok {
  background: #f0fff4;
  color: #22543d;
}

.contact-form-wrap .wpcf7-validation-errors,
.contact-form-wrap .wpcf7-spam-blocked {
  background: #fff5f5;
  color: #c53030;
}

.contact-form-wrap .wpcf7-spinner {
  margin: 0 12px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: #1a1e2c;
  color: #b0b4c0;
  padding: 48px 0 24px;
}

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

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

.footer-nav a {
  font-size: 0.85rem;
  color: #b0b4c0;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #2e3244;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom small {
  font-size: 0.8rem;
  color: #6b7080;
}

/* ============================================
   Blog
   ============================================ */
.blog-section {
  padding: 60px 0 80px;
}

/* Category filter nav */
.blog-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.blog-cat-nav a {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid #d0dce8;
  color: #5C5F6B;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.blog-cat-nav a:hover,
.blog-cat-nav a.current {
  background: #1D81F9;
  color: #fff;
  border-color: #1D81F9;
}

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

.blog-card a {
  display: block;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  height: 100%;
}

.blog-card a:hover {
  box-shadow: 0 8px 24px rgba(0, 56, 118, 0.1);
  transform: translateY(-4px);
}

.blog-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f6ff;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: #5C5F6B;
}

.blog-card-cat {
  display: inline-block;
  font-size: 0.75rem;
  color: #1D81F9;
  background: #f0f6ff;
  padding: 2px 10px;
  border-radius: 3px;
  margin-left: 8px;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: #003876;
  margin: 10px 0 8px;
  line-height: 1.5;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: #5C5F6B;
  line-height: 1.7;
}

.blog-pagination {
  margin-top: 48px;
  text-align: center;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #333;
  border: 1px solid #e8ecf1;
  transition: background 0.3s, color 0.3s;
}

.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: #1D81F9;
  color: #fff;
  border-color: #1D81F9;
}

.blog-empty {
  text-align: center;
  color: #5C5F6B;
  padding: 60px 0;
}

/* Single Post */
.single-post {
  padding: 60px 0 80px;
}

.single-post .container {
  max-width: 720px;
}

.single-post-thumb {
  margin-bottom: 32px;
  border-radius: 8px;
  overflow: hidden;
}

.single-post-thumb img {
  width: 100%;
  height: auto;
}

.single-post-content {
  font-size: 0.95rem;
  color: #333;
  line-height: 2;
}

.single-post-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #003876;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #1D81F9;
}

.single-post-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #003876;
  margin: 32px 0 12px;
}

.single-post-content p {
  margin-bottom: 20px;
}

.single-post-content ul,
.single-post-content ol {
  margin: 0 0 20px 1.5em;
  list-style: disc;
}

.single-post-content ol {
  list-style: decimal;
}

.single-post-content li {
  margin-bottom: 6px;
}

.single-post-content blockquote {
  border-left: 4px solid #1D81F9;
  padding: 16px 20px;
  margin: 20px 0;
  background: #f8fafc;
  color: #5C5F6B;
}

.single-post-content img {
  border-radius: 4px;
}

.single-post-content a {
  color: #1D81F9;
  text-decoration: underline;
}

.single-post-content pre {
  background: #1a1e2c;
  color: #e0e4ec;
  padding: 20px;
  border-radius: 6px;
  overflow-x: auto;
  margin: 20px 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

.single-post-content code {
  background: #f0f6ff;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.85em;
}

.single-post-content pre code {
  background: none;
  padding: 0;
}

.post-cat {
  display: inline-block;
  font-size: 0.85rem;
  color: #1D81F9;
  margin-left: 12px;
}

.single-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid #e8ecf1;
}

.post-nav-link {
  flex: 1;
  padding: 16px;
  border: 1px solid #e8ecf1;
  border-radius: 6px;
  transition: border-color 0.3s;
}

.post-nav-link:hover {
  border-color: #1D81F9;
}

.post-nav-next {
  text-align: right;
}

.post-nav-label {
  display: block;
  font-size: 0.8rem;
  color: #5C5F6B;
  margin-bottom: 4px;
}

.post-nav-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #003876;
}

.single-post-back {
  margin-top: 40px;
  text-align: center;
}

/* ============================================
   Default Page
   ============================================ */
.default-page-content {
  padding: 60px 0 80px;
}

.default-page-content .container {
  max-width: 720px;
}

.default-page-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #003876;
  margin: 32px 0 12px;
}

.default-page-content p {
  font-size: 0.95rem;
  color: #5C5F6B;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ============================================
   Service Page Sections
   ============================================ */

/* Pain Points */
.pain-points {
  padding: 80px 0;
}

.pain-points-list {
  max-width: 720px;
  margin: 0 auto;
}

.pain-point-item {
  padding: 16px 0 16px 24px;
  border-bottom: 1px solid #e8ecf1;
  position: relative;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.7;
}

.pain-point-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  width: 8px;
  height: 8px;
  background: #1D81F9;
  border-radius: 50%;
}

/* Service Features */
.service-features {
  padding: 80px 0;
  background: #f8fafc;
}

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

.service-feature-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 8px;
  padding: 28px 24px;
}

.service-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #003876;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1D81F9;
}

.service-feature-card p {
  font-size: 0.9rem;
  color: #5C5F6B;
  line-height: 1.7;
}

/* Process Section */
.process-section {
  padding: 80px 0;
}

.process-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 0 16px;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: -4px;
  width: calc(100% - 72px);
  height: 2px;
  background: #dde1e7;
  transform: translateX(50%);
}

.process-step-number {
  width: 48px;
  height: 48px;
  background: #1D81F9;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #003876;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: #5C5F6B;
  line-height: 1.6;
}

/* Strengths Section */
.strengths-section {
  padding: 80px 0;
  background: #f0f6ff;
}

.strengths-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.strength-item {
  background: #fff;
  border-radius: 8px;
  padding: 32px;
}

.strength-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #003876;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid #1D81F9;
}

.strength-item p {
  font-size: 0.9rem;
  color: #5C5F6B;
  line-height: 1.7;
}

/* Service FAQ */
.service-faq {
  padding: 80px 0;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  /* Header */
  .hamburger {
    display: flex;
  }

  .global-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #fff;
    padding: 80px 32px 32px;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    z-index: 1050;
  }

  .global-nav.open {
    right: 0;
  }

  .global-nav ul {
    flex-direction: column;
    gap: 0;
  }

  .global-nav li {
    border-bottom: 1px solid #e8ecf1;
  }

  .global-nav a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
  }

  .global-nav a::after {
    display: none;
  }

  .nav-contact a {
    margin-top: 16px;
    text-align: center;
    display: block;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1040;
  }

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

  /* Hero */
  .hero {
    padding: 120px 0 60px;
    min-height: 500px;
  }

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

  .hero-subtitle {
    font-size: 0.95rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Section */
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 32px;
  }

  /* Page Header */
  .page-header {
    padding: 100px 0 40px;
  }

  .page-header h1 {
    font-size: 1.4rem;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    gap: 24px;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  /* Contact */
  .contact-form-wrap {
    padding: 24px;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .single-post-nav {
    flex-direction: column;
  }

  .post-nav-next {
    text-align: left;
  }

  /* About */
  .about-table th {
    display: block;
    width: 100%;
    border-bottom: none;
    padding-bottom: 4px;
  }

  .about-table td {
    display: block;
    padding-top: 0;
  }

  /* Service Page Sections */
  .pain-points,
  .service-features,
  .process-section,
  .strengths-section,
  .service-faq {
    padding: 60px 0;
  }

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

  .process-steps {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .process-step {
    max-width: 280px;
    width: 100%;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }
}
