/* ========================================
   PLAY Forward - Corporate Site Styles
   Pattern A: Monochrome + Gold Accent
   ======================================== */

/* --- CSS Variables --- */
:root {
  --color-bg: #FFFFFF;
  --color-bg-gray: #F5F5F5;
  --color-bg-dark: #1A1A1A;
  --color-text: #1A1A1A;
  --color-text-sub: #6B7280;
  --color-text-light: #F5F5F5;
  --color-accent: #D4A017;
  --color-accent-hover: #b8860b;
  --color-border: #E5E7EB;
  --font-ja: 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;
  --container-max: 1100px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

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

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

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

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

/* ========================================
   1. HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.header.scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

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

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

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text);
  position: relative;
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s;
}

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

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

.nav-link--cta {
  padding: 8px 24px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 4px;
  transition: background 0.3s;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ========================================
   2. HERO
   ======================================== */
.hero {
  width: 100%;
  height: 100vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  pointer-events: none;
}

.hero-logo-full {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
}

.hero-logo-brac {
  color: var(--color-text);
}

.hero-logo-play {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideFromLeft 0.7s 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-logo-tri {
  width: clamp(30px, 4vw, 50px);
  height: clamp(30px, 4vw, 50px);
  opacity: 0;
  transform: scale(0.5);
  animation: logoPulse 0.9s 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.hero-logo-tri polygon {
  fill: var(--color-accent);
}

.hero-logo-forward {
  opacity: 0;
  transform: translateX(50px);
  animation: slideFromRight 0.7s 1.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-divider {
  width: 0;
  height: 1px;
  background: var(--color-accent);
  margin: 40px auto;
  animation: expandLine 0.8s 2.8s forwards;
}

.hero-catchcopy {
  font-size: clamp(22px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 3.4s forwards;
}

.hero-subtext {
  font-size: clamp(14px, 1.8vw, 18px);
  color: var(--color-text-sub);
  margin-top: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 3.8s forwards;
}

.hero-cta {
  display: inline-block;
  margin-top: 36px;
  padding: 16px 48px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 4.2s forwards;
  pointer-events: auto;
  transition: background 0.3s, transform 0.3s;
}

.hero-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--color-accent);
  opacity: 0;
  animation: scrollFadeIn 0.8s 4.8s forwards;
  pointer-events: none;
  transition: opacity 0.4s;
}

.scroll-indicator.hidden {
  opacity: 0 !important;
}

.scroll-indicator svg {
  width: 36px;
  height: 36px;
  display: block;
  animation: scrollBounce 1.6s ease-in-out infinite;
}

@keyframes scrollFadeIn {
  to { opacity: 1; }
}

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

/* ========================================
   CONCEPT
   ======================================== */
.concept {
  padding: 140px 0;
}

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

.concept-heading {
  font-family: var(--font-ja);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--color-text);
}

.concept-body {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.concept-body p {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 2;
  color: var(--color-text-sub);
}

.concept-mark {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-weight: 900;
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--color-text);
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.concept-mark-tri {
  width: clamp(20px, 2vw, 28px);
  height: clamp(20px, 2vw, 28px);
  flex-shrink: 0;
}

.concept-mark-tri polygon {
  fill: var(--color-accent);
}

.concept-tagline {
  font-size: 14px !important;
  color: var(--color-text-sub);
  line-height: 1.9 !important;
}

@media (max-width: 767px) {
  .concept {
    padding: 80px 0;
  }

  .concept-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .concept-heading {
    font-size: clamp(40px, 12vw, 64px);
  }
}

/* ========================================
   SECTION COMMON
   ======================================== */
.section {
  padding: 140px 0;
}

.section--gray {
  background: var(--color-bg-gray);
  position: relative;
  z-index: 1;
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
  position: relative;
  z-index: 1;
}

.section-label {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.section-label--light {
  color: var(--color-accent);
}

.section-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: 0.03em;
  padding-left: 16px;
  border-left: 3px solid var(--color-accent);
}

.section-title--light {
  color: var(--color-text-light);
}

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

/* ========================================
   3. ABOUT
   ======================================== */
.about-table {
  width: 100%;
  max-width: 700px;
  border-collapse: collapse;
}

.about-table th,
.about-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--color-border);
}

.about-table th {
  width: 160px;
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
}

.about-table td {
  color: var(--color-text-sub);
}

/* ========================================
   4. SERVICES
   ======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  padding: 40px 32px;
  border-radius: 4px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ========================================
   5. PORTFOLIO
   ======================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.portfolio-item {
  display: block;
  transition: transform 0.3s;
}

.portfolio-item:hover {
  transform: translateY(-4px);
}

.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--color-bg-gray) 0%, var(--color-border) 100%);
}

.portfolio-img-wrap::before {
  content: 'PHOTO';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-border);
  z-index: 0;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.03);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-text {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.portfolio-name {
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
}

.portfolio-category {
  font-size: 13px;
  color: var(--color-text-sub);
  margin-top: 4px;
}

/* ========================================
   6. PROCESS
   ======================================== */
.process-list {
  max-width: 700px;
}

.process-step {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}

.process-step:last-child {
  border-bottom: none;
}

.process-number {
  font-family: var(--font-en);
  font-size: 36px;
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  min-width: 56px;
}

.process-step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 14px;
  color: var(--color-text-sub);
}

/* ========================================
   7. PRICING
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.pricing-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.pricing-card--featured {
  border: 2px solid var(--color-accent);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}

.pricing-original {
  font-size: 13px;
  color: var(--color-text-sub);
  text-decoration: line-through;
  margin-bottom: 2px;
}

.pricing-discount-note {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.pricing-price {
  font-family: var(--font-en);
  font-size: 32px;
  font-weight: 900;
  color: var(--color-text);
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-sub);
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--color-text-sub);
  padding: 8px 0;
  border-bottom: 1px solid var(--color-bg-gray);
  padding-left: 16px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  transform: translateY(-50%);
}

.pricing-btn {
  display: inline-block;
  padding: 12px 40px;
  border: 2px solid var(--color-text);
  color: var(--color-text);
  font-weight: 700;
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.3s;
}

.pricing-btn:hover {
  background: var(--color-text);
  color: #fff;
}

.pricing-btn--featured {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.pricing-btn--featured:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* ========================================
   8. FAQ
   ======================================== */
.faq-list {
  max-width: 800px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-ja);
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  line-height: 1.6;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--color-accent);
  min-width: 24px;
  text-align: center;
  transition: transform 0.3s;
}

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

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.9;
}

/* ========================================
   9. CONTACT
   ======================================== */
.contact-intro {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
}

.contact-form {
  max-width: 700px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  font-family: var(--font-ja);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #fff;
  transition: border-color 0.3s, background 0.3s;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.12);
}

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

.contact-form > .form-group {
  margin-bottom: 24px;
}

.form-submit {
  display: inline-block;
  padding: 16px 56px;
  background: var(--color-accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-ja);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: background 0.3s, transform 0.3s;
}

.form-submit:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-success,
.form-error {
  display: none;
  max-width: 700px;
  padding: 20px 24px;
  border-radius: 4px;
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.8;
}

.form-success[style*="display"],
.form-error[style*="display"] {
  display: block;
}

.form-success {
  background: rgba(212, 160, 23, 0.15);
  border: 1px solid var(--color-accent);
  color: #fff;
}

.form-error {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid #dc2626;
  color: #fca5a5;
}

.form-field-error {
  display: block;
  font-size: 12px;
  color: #fca5a5;
  margin-top: 6px;
}

/* ========================================
   NEWS
   ======================================== */
.news-list {
  list-style: none;
  max-width: 800px;
}

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

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

.news-date {
  font-family: var(--font-en);
  font-size: 13px;
  color: var(--color-text-sub);
  white-space: nowrap;
  min-width: 90px;
}

.news-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 2px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.news-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

/* ========================================
   LOADER
   ======================================== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  height: 48px;
  width: auto;
  animation: loaderPulse 1s ease forwards;
}

@keyframes loaderPulse {
  0%   { opacity: 0; transform: scale(0.9); }
  60%  { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 48px;
  height: 48px;
  background: var(--color-text);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, background 0.3s;
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-accent);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 767px) {
  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
  }

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

/* ========================================
   10. FOOTER
   ======================================== */
.footer {
  background: var(--color-bg-dark);
  position: relative;
  z-index: 1;
}

.footer-accent-line {
  height: 2px;
  background: var(--color-accent);
}

.footer-inner {
  padding: 48px 24px;
  text-align: center;
}

.footer-logo-img {
  height: 28px;
  margin: 0 auto 24px;
  filter: brightness(0) invert(1);
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.3s;
}

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

.footer-yomi {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--font-en);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
}

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

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes logoPulse {
  0%   { opacity: 0; transform: scale(0.5); }
  60%  { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes slideFromLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideFromRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes expandLine {
  from { width: 0; }
  to   { width: min(320px, 60vw); }
}

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

/* Scroll fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1023px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 0;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.08);
    transition: right 0.3s ease;
  }

  .nav.open {
    right: 0;
  }

  .nav-link {
    padding: 16px 0;
    width: 100%;
    font-size: 16px;
    border-bottom: 1px solid var(--color-bg-gray);
  }

  .nav-link--cta {
    margin-top: 16px;
    text-align: center;
  }

  .hero-logo-full {
    font-size: clamp(24px, 8vw, 40px);
  }

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

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

  .section {
    padding: 80px 0;
  }

  .process-step {
    flex-direction: column;
    gap: 12px;
  }

  .about-table th {
    width: 120px;
  }
}
