/* ==========================================================================
   KAIRO DESIGN BUREAU — PAGE SPECIFIC LAYOUTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION (HOME)
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 94vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--space-2xl) + 2rem);
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

.hero-bg-graphic {
  position: absolute;
  right: -5%;
  top: 45%;
  transform: translateY(-50%);
  width: 620px;
  height: 620px;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
  animation: floatSlow 8s ease-in-out infinite alternate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-headline {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
  text-transform: capitalize;
}

.hero-lead {
  font-size: var(--fs-body-lg);
  line-height: 1.65;
  color: var(--text-silver);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gold-highlight);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Hero Mascot Display (Standalone character without box) */
.hero-visual-card {
  position: relative;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  transform: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-card:hover {
  transform: none;
}

.hero-feather-preview {
  width: 100%;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-feather-preview::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229, 169, 60, 0.22) 0%, rgba(245, 185, 66, 0.06) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(25px);
}

.hero-feather-preview img,
.hero-mascot-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 520px;
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 40px rgba(229, 169, 60, 0.35));
  animation: floatSlow 6s ease-in-out infinite alternate;
  transition: transform var(--duration-normal) var(--ease-editorial), filter var(--duration-normal) ease;
}

.hero-visual-card:hover .hero-feather-preview img,
.hero-visual-card:hover .hero-mascot-img {
  transform: scale(1.04) translateY(-10px);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 55px rgba(229, 169, 60, 0.55)) !important;
}

/* --------------------------------------------------------------------------
   2. CASE STUDY EDITORIAL PAGE
   -------------------------------------------------------------------------- */
.case-hero {
  padding-top: calc(var(--space-2xl) + 2rem);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--border-subtle);
}

.case-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 3rem 0;
}

.case-meta-item .meta-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 0.4rem;
}

.case-meta-item .meta-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
}

.case-banner-img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  margin-bottom: var(--space-xl);
}

.case-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: var(--space-xl);
}

.case-sticky-sidebar {
  position: sticky;
  top: 6rem;
  height: fit-content;
}

.case-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-left: 2px solid var(--border-subtle);
  padding-left: 1.25rem;
}

.case-nav-link {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--duration-fast) ease;
}

.case-nav-link.active,
.case-nav-link:hover {
  color: var(--gold-highlight);
  font-weight: 600;
}

.case-section-block {
  margin-bottom: 4rem;
}

.case-section-block h3 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.case-section-block p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-silver);
}

.case-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.case-gallery-img {
  border-radius: 14px;
  width: 100%;
  height: 380px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.case-impact-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  padding: 3rem 2rem;
  margin: 3.5rem 0;
  text-align: center;
}

.impact-metric-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold-highlight);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.impact-metric-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.case-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   3. CONTACT PAGE & FORM STYLING
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 4.5rem;
}

.contact-card-info {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 3rem;
  height: fit-content;
}

.contact-detail-box {
  margin-bottom: 2.25rem;
}

.contact-detail-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-bottom: 0.5rem;
}

.contact-detail-value {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.4;
}

.contact-detail-value a:hover {
  color: var(--gold-highlight);
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: clamp(2rem, 4vw, 3.5rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-silver);
}

.form-label .req {
  color: var(--gold-highlight);
}

.form-control {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.95rem 1.25rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--duration-fast) ease;
}

.form-control:focus {
  border-color: var(--gold-highlight);
  box-shadow: 0 0 15px rgba(229, 169, 60, 0.2);
  background: var(--bg-card);
}

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

.form-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.5rem;
}

.form-checkbox-chip {
  cursor: pointer;
}

.form-checkbox-chip input {
  display: none;
}

.form-checkbox-chip span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all var(--duration-fast) ease;
}

.form-checkbox-chip input:checked + span {
  background: rgba(229, 169, 60, 0.18);
  border-color: var(--gold-highlight);
  color: var(--gold-highlight);
}

.budget-slider-wrap {
  margin-top: 0.75rem;
}

.range-slider {
  width: 100%;
  accent-color: var(--gold-highlight);
  cursor: pointer;
}

.budget-display {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-highlight);
  margin-top: 0.5rem;
}

/* FAQ Accordion */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color var(--duration-fast) ease;
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 2rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-white);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--gold-highlight);
  transition: transform var(--duration-normal) var(--ease-editorial);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 2rem 1.5rem 2rem;
  display: none;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-content {
  display: block;
}

/* --------------------------------------------------------------------------
   4. ARTICLE DETAIL PAGE
   -------------------------------------------------------------------------- */
.article-header {
  padding-top: calc(var(--space-2xl) + 2rem);
  padding-bottom: var(--space-lg);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.article-title {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin: 1.5rem 0;
}

.article-author-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--gold-primary);
  margin-top: 1.5rem;
}

.article-body {
  max-width: 820px;
  margin: 0 auto var(--space-2xl) auto;
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--text-silver);
}

.article-body h2 {
  font-size: 2rem;
  margin: 3rem 0 1.25rem 0;
  color: var(--text-white);
}

.article-body h3 {
  font-size: 1.5rem;
  margin: 2.25rem 0 1rem 0;
  color: var(--text-white);
}

.article-body blockquote {
  border-left: 3px solid var(--gold-highlight);
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background: var(--bg-card);
  border-radius: 0 14px 14px 0;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-white);
}
