:root {
  --teal-950: #0d201d;
  --teal-900: #173e38;
  --teal-800: #1d4f48;
  --teal-700: #245c52;
  --teal-600: #2d6b62;
  --amber-500: #e8a34d;
  --amber-400: #efb96f;
  --cream-50: #f5f1eb;
  --cream-100: #efe9e2;
  --cream-200: #e6ddd0;
  --charcoal: #182423;
  --muted: #5b6d69;
  --white: #ffffff;
  --shadow-soft: 0 24px 70px rgba(18, 35, 33, 0.12);
  --shadow-card: 0 14px 36px rgba(17, 36, 33, 0.08);
  --radius-xl: 18px;
  --radius-lg: 12px;
  --radius-md: 8px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  background:
    linear-gradient(90deg, rgba(35, 79, 72, 0.025) 1px, transparent 1px),
    linear-gradient(rgba(35, 79, 72, 0.025) 1px, transparent 1px),
    #f7f4ee;
  background-size: 40px 40px;
  color: var(--charcoal);
  line-height: 1.7;
}

body::before {
  display: none;
}

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

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

.logo-header {
  width: 160px;
  height: auto;
  display: block;
}

.logo-footer {
  width: 150px;
  height: auto;
  display: block;
}

.highlight-box--spaced {
  margin-top: 30px;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 1000;
  background: var(--teal-900);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 238, 0.9);
  border-bottom: 1px solid rgba(36, 92, 82, 0.14);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

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

.primary-nav a {
  color: rgba(24, 36, 35, 0.76);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 200ms ease, transform 200ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav a[aria-current='page'] {
  color: var(--teal-700);
}

.primary-nav a[aria-current='page']::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px auto -7px;
  background: var(--amber-500);
}

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

.site-search-trigger,
.site-search-close {
  border: 0;
  background: transparent;
  color: var(--teal-700);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.site-search-trigger {
  padding: 10px 4px;
}

.site-search-trigger:hover,
.site-search-trigger:focus-visible,
.site-search-close:hover,
.site-search-close:focus-visible {
  color: var(--teal-900);
}

body.search-open {
  overflow: hidden;
}

.site-search-overlay {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: 11vh 20px 20px;
  background: rgba(13, 32, 29, 0.52);
  backdrop-filter: blur(10px);
}

.site-search-overlay[hidden] {
  display: none;
}

.site-search-dialog {
  width: min(100%, 720px);
  max-height: min(720px, 80vh);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  background: #fbf8f3;
  box-shadow: 0 30px 90px rgba(5, 18, 16, 0.36);
}

.site-search-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.site-search-head h2 {
  margin: 9px 0 0;
  color: var(--teal-900);
  font-size: 1.8rem;
}

.site-search-close {
  padding: 10px 0;
}

.site-search-input-wrap {
  display: grid;
  gap: 8px;
  color: var(--teal-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-search-input-wrap input {
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(36, 92, 82, 0.2);
  border-radius: 12px;
  background: var(--white);
  color: var(--charcoal);
}

.site-search-input-wrap input:focus {
  outline: none;
  border-color: var(--teal-700);
  box-shadow: 0 0 0 4px rgba(36, 92, 82, 0.1);
}

.site-search-count {
  margin: 18px 0 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.site-search-results {
  display: grid;
  gap: 8px;
}

.site-search-result {
  display: grid;
  gap: 4px;
  padding: 15px 16px;
  border: 1px solid rgba(36, 92, 82, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.56);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-search-result:hover,
.site-search-result:focus-visible {
  border-color: rgba(36, 92, 82, 0.34);
  background: var(--white);
  transform: translateX(3px);
}

.site-search-result strong {
  color: var(--teal-700);
}

.site-search-result span,
.site-search-empty {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
  cursor: pointer;
}

.btn:hover,
button.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900));
  color: var(--white);
  box-shadow: 0 18px 38px rgba(36, 92, 82, 0.26);
}

.btn-secondary {
  background: rgba(255,255,255,0.58);
  border-color: rgba(36, 92, 82, 0.12);
  color: var(--teal-700);
}

.btn-light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(36, 92, 82, 0.12);
  border-radius: 12px;
  background: rgba(255,255,255,0.34);
}

.hero {
  padding: 84px 0 22px;
}

.hero-shell {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.76), rgba(255,255,255,0.3));
  border: 1px solid rgba(36, 92, 82, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.32;
  pointer-events: none;
}

.glow-one {
  width: 400px;
  height: 400px;
  background: rgba(36, 92, 82, 0.38);
  right: -40px;
  top: -80px;
}

.glow-two {
  width: 300px;
  height: 300px;
  background: rgba(232, 163, 77, 0.28);
  left: 36%;
  bottom: -80px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 32px;
  padding: 44px 52px 26px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(36, 92, 82, 0.08);
  color: var(--teal-700);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 5px rgba(232, 163, 77, 0.15);
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-900), #0d2723);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin: 0 0 28px;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.trustline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(24, 36, 35, 0.7);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.metric-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 24px 28px;
  border-top: 1px solid rgba(36, 92, 82, 0.08);
  background: rgba(255,255,255,0.18);
}

.metric {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.32);
  border: 1px solid rgba(36, 92, 82, 0.08);
}

.metric strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
  color: var(--teal-800);
  margin-bottom: 4px;
}

.metric span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-card {
  position: relative;
  width: min(100%, 430px);
  background: linear-gradient(180deg, rgba(36,92,82,0.96), rgba(20,55,50,0.92));
  color: var(--white);
  border-radius: 32px;
  padding: 28px;
  box-shadow: 0 40px 80px rgba(16, 35, 31, 0.3);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 220ms ease;
}

.visual-card::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  right: -40px;
  top: -52px;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.dots {
  display: flex;
  gap: 8px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  background: rgba(255,255,255,0.45);
}

.card-tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.preview-stack {
  position: relative;
  z-index: 1;
  margin-top: 18px;
}

.preview-window {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 18px;
  margin-bottom: 16px;
}

.window-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber-400);
}

.window-bar span:nth-child(2) {
  background: rgba(255,255,255,0.73);
}

.window-bar span:nth-child(3) {
  background: rgba(255,255,255,0.4);
}

.mini-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
}

.block {
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  min-height: 88px;
  border: 1px solid rgba(255,255,255,0.05);
}

.block.big {
  min-height: 128px;
}

.block-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 8px;
}

.block strong {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.floating-badge {
  position: absolute;
  right: 18px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.96);
  color: var(--teal-700);
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.badge-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(36, 92, 82, 0.1);
  color: var(--teal-700);
  font-size: 1.2rem;
}

.feature-band {
  padding-top: 18px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(36,92,82,0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
}

.feature-strip > div {
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(36, 92, 82, 0.04);
}

.feature-strip span {
  display: block;
  color: var(--teal-700);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.feature-strip strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

section {
  padding: 60px 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
}

.section-header p {
  margin: 0;
  max-width: 600px;
  color: var(--muted);
}

.value-grid,
.service-grid,
.portfolio-grid,
.steps-grid,
.contact-grid,
.logo-row {
  display: grid;
  gap: 24px;
}

.value-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-card,
.service-card,
.portfolio-card,
.guide-card,
.contact-card,
.legal-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(36, 92, 82, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.value-card {
  padding: 28px 24px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.value-card:hover,
.service-card:hover,
.portfolio-card:hover,
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(19, 36, 32, 0.12);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(36,92,82,0.12), rgba(232,163,77,0.18));
  color: var(--teal-700);
  margin-bottom: 18px;
}

.value-card h3,
.service-card h3,
.portfolio-card h3,
.guide-card h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.value-card p,
.service-card p,
.portfolio-card p,
.guide-card p,
.contact-card p,
.legal-card p,
.form-intro p,
.info-list li,
.legal-content p,
.legal-content li {
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
  padding: 30px 28px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--amber-500);
}

.service-card--primary {
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(35,72,64,0.03));
}

.service-card--secondary {
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(232,163,77,0.04));
}

.service-badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 4px;
  background: rgba(36,92,82,0.08);
  color: var(--teal-700);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card ul,
.info-list,
.legal-content ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.service-card li,
.info-list li,
.legal-content li {
  margin-bottom: 8px;
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-card {
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.portfolio-visual {
  height: 220px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 22px;
  isolation: isolate;
  background: var(--teal-900);
  color: var(--white);
}

.portfolio-visual::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 245px;
  height: 245px;
  right: -58px;
  top: -100px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 0 0 32px rgba(255,255,255,0.06), 0 0 0 64px rgba(255,255,255,0.035);
}

.portfolio-visual::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: 22px;
  right: 22px;
  bottom: 18px;
  height: 1px;
  background: rgba(255,255,255,0.32);
}

.portfolio-visual--one { background: linear-gradient(135deg, #194d45, #0e2925); }
.portfolio-visual--two { background: linear-gradient(135deg, #a55c32, #6d2f25); }
.portfolio-visual--three { background: linear-gradient(135deg, #234967, #172f48); }

.portfolio-index,
.portfolio-caption,
.portfolio-visual strong {
  position: relative;
  z-index: 1;
}

.portfolio-index {
  align-self: flex-start;
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.portfolio-visual strong {
  position: absolute;
  left: 22px;
  bottom: 34px;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.8;
  letter-spacing: 0;
}

.portfolio-caption {
  margin-left: auto;
  color: rgba(255,255,255,0.86);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.portfolio-card .content {
  padding: 24px 24px 28px;
}

.portfolio-card .meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: var(--teal-700);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.highlight-box {
  margin-top: 30px;
  padding: 28px 30px;
  border-radius: var(--radius-lg);
  background: var(--teal-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 26px 52px rgba(23,62,56,0.22);
}

.highlight-box h3 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  letter-spacing: -0.04em;
}

.highlight-box p {
  margin: 0;
  color: rgba(255,255,255,0.76);
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
  padding: 26px 22px 24px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-bottom: 14px;
  background: rgba(232,163,77,0.2);
  color: var(--teal-700);
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.ticket-lookup {
  max-width: 760px;
  margin: 32px auto 0;
}

.ticket-lookup h2 {
  margin: 8px 0 20px;
}

.ticket-result {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.ticket-result[hidden] {
  display: none;
}

.ticket-hero-card,
.ticket-timeline-card,
.ticket-expectation-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(36, 92, 82, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.ticket-hero-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.ticket-hero-card h2,
.ticket-timeline-card h2,
.management-activity h2 {
  margin: 8px 0;
  color: var(--teal-700);
}

.ticket-hero-card p {
  margin: 0;
  color: var(--muted);
}

.ticket-expectation-card {
  padding: 24px 28px;
  border-left: 4px solid var(--amber-500);
}

.ticket-expectation-card h2 {
  margin: 10px 0 6px;
  color: var(--teal-700);
  font-size: 1.28rem;
}

.ticket-expectation-card p {
  margin: 0;
  color: var(--muted);
}

.ticket-status-badge {
  flex: 0 0 auto;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal-700);
  background: rgba(36, 92, 82, 0.1);
}

.ticket-status-badge.status-pending {
  color: #815620;
  background: rgba(232, 163, 77, 0.2);
}

.ticket-status-badge.status-closed {
  color: #1a5d4c;
  background: rgba(27, 112, 85, 0.12);
}

.ticket-status-badge.status-forwarded {
  color: #285f79;
  background: rgba(60, 133, 171, 0.13);
}

.ticket-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ticket-summary-card {
  display: grid;
  gap: 6px;
  min-height: 104px;
  padding: 18px;
  border: 1px solid rgba(36, 92, 82, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.ticket-summary-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.ticket-summary-card strong {
  color: var(--teal-700);
  line-height: 1.4;
}

.ticket-section-heading {
  margin-bottom: 20px;
}

.ticket-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  max-height: 460px;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.ticket-timeline:empty {
  display: none;
}

.ticket-timeline li {
  display: flex;
  width: 100%;
}

.ticket-timeline li.event-system {
  justify-content: center;
  margin: 6px 0;
}

.ticket-timeline li.event-team,
.ticket-timeline li.event-internal {
  justify-content: flex-start;
}

.ticket-timeline li.event-client {
  justify-content: flex-end;
}

.chat-system {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 90%;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(36, 92, 82, 0.08);
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.chat-bubble {
  max-width: 78%;
  padding: 14px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.event-team .chat-bubble {
  background: var(--white);
  border: 1px solid rgba(36, 92, 82, 0.14);
  border-bottom-left-radius: 4px;
  color: var(--charcoal);
}

.event-client .chat-bubble {
  background: var(--teal-900);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

.event-internal .chat-bubble {
  background: rgba(232, 163, 77, 0.14);
  border: 1px dashed rgba(232, 163, 77, 0.55);
  border-bottom-left-radius: 4px;
  color: #7a5424;
}

.chat-sender {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 5px;
  opacity: 0.72;
}

.chat-bubble p {
  margin: 0;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.chat-meta {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  opacity: 0.62;
}

.event-client .chat-meta {
  color: rgba(255, 255, 255, 0.78);
}

.ticket-reply-form {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(36, 92, 82, 0.14);
}

.step-fade-in {
  animation: stepFadeIn 0.32s ease;
}

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

.link-button {
  display: inline-block;
  margin-top: 16px;
  padding: 0;
  border: none;
  background: none;
  color: var(--teal-700);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.link-button:hover,
.link-button:focus-visible {
  color: var(--teal-900);
}

.verify-hint {
  margin: 0 0 16px;
  color: var(--muted);
}

.otp-field {
  max-width: 220px;
}

.otp-input {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  padding-left: 24px;
}

.claim-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(36, 92, 82, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
}

.claim-badge {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.claim-badge--unclaimed {
  color: #7a5424;
  background: rgba(232, 163, 77, 0.18);
}

.claim-badge--claimed {
  color: #285f79;
  background: rgba(60, 133, 171, 0.14);
}

.claim-badge--mine {
  color: #1a5d4c;
  background: rgba(27, 112, 85, 0.14);
}

.claim-time {
  color: var(--muted);
  font-size: 0.82rem;
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.8rem;
  margin-left: auto;
}

.verify-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.management-activity {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid rgba(36, 92, 82, 0.12);
}

.ticket-page {
  max-width: 920px;
  margin: 56px auto;
}

.ticket-details {
  display: grid;
  gap: 0;
  margin-bottom: 24px;
  border-top: 1px solid rgba(36, 92, 82, 0.1);
}

.ticket-details[hidden],
.management-activity[hidden] {
  display: none;
}

.ticket-detail-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(36, 92, 82, 0.1);
  line-height: 1.6;
}

.ticket-detail-row strong {
  color: var(--teal-700);
}

.ticket-detail-row span {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 620px) {
  .process-strip {
    grid-template-columns: 1fr;
  }

  .ticket-hero-card {
    display: grid;
  }

  .ticket-summary-grid {
    grid-template-columns: 1fr;
  }

  .ticket-detail-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.contact-card,
.legal-card {
  padding: 28px;
}

.info-list {
  list-style: none;
  padding-left: 0;
}

.info-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(36, 92, 82, 0.08);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 6px rgba(232,163,77,0.12);
}

.form-card {
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(36, 92, 82, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form[hidden] {
  display: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-700);
  letter-spacing: 0.02em;
}

.client-update-field {
  padding: 18px;
  border: 1px solid rgba(232, 163, 77, 0.4);
  border-radius: var(--radius-md);
  background: rgba(232, 163, 77, 0.08);
}

.client-update-field label span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(36,92,82,0.18);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.66);
  color: var(--charcoal);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(36,92,82,0.6);
  box-shadow: 0 0 0 4px rgba(36,92,82,0.08);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.form-status {
  display: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 600;
}

.form-status.is-success {
  display: block;
  background: rgba(27, 112, 85, 0.08);
  border: 1px solid rgba(27, 112, 85, 0.2);
  color: #1a5d4c;
}

.form-status.is-error {
  display: block;
  background: rgba(171, 43, 43, 0.06);
  border: 1px solid rgba(171, 43, 43, 0.18);
  color: #8d2d2d;
}

.legal-page {
  max-width: 1020px;
  margin: 56px auto;
}

.page-intro {
  text-align: center;
  margin-bottom: 26px;
}

.page-intro h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -0.05em;
  margin: 0 0 16px;
}

.page-intro p {
  margin: 0 auto;
  max-width: 700px;
  color: var(--muted);
}

.studio-page {
  max-width: 1120px;
}

.page-intro--left {
  max-width: 760px;
  text-align: left;
}

.page-intro--left p {
  margin-left: 0;
}

.content-section {
  margin-top: 52px;
}

.process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.process-strip article {
  padding: 18px;
  border-top: 2px solid var(--amber-500);
  background: rgba(255, 255, 255, 0.46);
}

.process-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-strip p {
  margin: 0;
  color: var(--muted);
}

.legal-card {
  margin-bottom: 28px;
}

.legal-card h2,
.legal-card h3 {
  color: var(--teal-800);
}

.legal-content {
  color: var(--charcoal);
}

.legal-content p,
.legal-content li {
  line-height: 1.8;
}

.site-footer {
  background: #0b1d1a;
  color: rgba(255,255,255,0.8);
  padding: 44px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 36px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-brand img {
  width: 180px !important;
  height: auto;
  border-radius: 5px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.footer-brand .brand-mark {
  box-shadow: none;
}

.footer-column h4 {
  margin: 0 0 16px;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.footer-column a,
.footer-column p {
  color: rgba(255,255,255,0.72);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-grid,
  .steps-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(36,92,82,0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .hero-grid {
    padding: 28px 20px 18px;
  }

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

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

  .highlight-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Final editorial surface layer */
h1,
h2,
h3,
h4,
.hero-copy h1 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  letter-spacing: -0.04em;
}

.site-header {
  min-height: 0;
  background: rgba(247, 244, 238, 0.9);
  border-bottom-color: rgba(36, 92, 82, 0.14);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 76px;
}

.primary-nav {
  gap: 24px;
}

.primary-nav a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.primary-nav a[aria-current='page']::after {
  width: 100%;
  margin: 5px auto -7px;
  border-radius: 0;
}

.site-search-trigger {
  padding: 9px 12px;
  border: 1px solid rgba(36, 92, 82, 0.2);
  border-radius: 8px;
  font-size: 0.8rem;
}

.btn,
button.btn {
  border-radius: 8px;
}

.btn-primary {
  background: var(--teal-900);
}

.btn-secondary {
  background: var(--white);
  border-color: rgba(36, 92, 82, 0.18);
}

.eyebrow,
.service-badge {
  border-radius: 4px;
}

.hero-shell {
  overflow: clip;
  border-color: rgba(36, 92, 82, 0.14);
  background: rgba(255,255,255,0.64);
}

.hero-glow {
  opacity: 0.18;
  filter: blur(90px);
}

.gradient-text {
  color: var(--teal-700);
  background: none;
}

.value-card,
.service-card,
.portfolio-card,
.guide-card,
.contact-card,
.legal-card,
.form-card {
  background: rgba(255,255,255,0.76);
  border-color: rgba(36, 92, 82, 0.14);
}

.form-card {
  border-radius: var(--radius-lg);
}

.field input,
.field select,
.field textarea {
  border-color: rgba(36,92,82,0.18);
  border-radius: 8px;
}

.ticket-hero-card,
.ticket-timeline-card,
.ticket-expectation-card {
  background: rgba(255,255,255,0.78);
  border-color: rgba(36, 92, 82, 0.14);
  border-radius: var(--radius-lg);
}

.ticket-summary-card {
  background: rgba(255,255,255,0.7);
  border-color: rgba(36, 92, 82, 0.14);
  border-radius: var(--radius-md);
}

.ticket-status-badge,
.form-status {
  border-radius: 4px;
}

.site-footer {
  background: #0b1d1a;
}

.footer-grid {
  gap: 36px;
}

.footer-brand img {
  width: 180px !important;
  border-radius: 5px;
}
