/* INT Services — Light Enterprise Theme */

:root {
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.92);
  --border: rgba(15, 23, 42, 0.1);
  --border-hover: rgba(15, 23, 42, 0.18);
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #3b82f6;
  --accent: #2563eb;
  --gradient: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
  --shadow-glow: 0 12px 48px rgba(37, 99, 235, 0.14);
  --shadow-card: 0 4px 24px rgba(15, 23, 42, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
  --max-w: 1200px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background mesh */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(37, 99, 235, 0.09), transparent 50%),
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(59, 130, 246, 0.07), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 90%, rgba(96, 165, 250, 0.05), transparent 50%),
    var(--bg);
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.container {
  width: min(100% - 48px, var(--max-w));
  margin-inline: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, var(--max-w));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -0.02em;
}

.logo--bracket {
  gap: 0;
  font-family: "DM Sans", Inter, system-ui, sans-serif;
  font-size: 1.25rem;
}

.logo__bracket {
  color: var(--blue);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
}

.logo--bracket .logo__bracket:first-of-type {
  margin-right: 4px;
}

.logo__brand + .logo__bracket {
  margin-left: 4px;
}

.logo__brand {
  font-weight: 700;
  background: linear-gradient(180deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo--bracket .logo__muted {
  margin-left: 14px;
  font-size: 1rem;
  font-weight: 500;
}

.logo__icon {
  flex-shrink: 0;
  display: block;
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 14px rgba(59, 130, 246, 0.4));
}

.logo__muted {
  color: var(--text-muted);
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--text); }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.lang-switch__btn {
  padding: 4px 9px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 6px;
  line-height: 1.2;
  transition: color 0.2s, background 0.2s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.lang-switch__btn:hover {
  color: var(--text);
}

.lang-switch__btn.active {
  background: rgba(37, 99, 235, 0.12);
  color: var(--blue-dark);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s;
  font-family: inherit;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--gradient);
  color: white;
  box-shadow: 0 4px 24px rgba(59, 130, 246, 0.35);
}

.btn--primary:hover {
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.45);
}

.btn--ghost {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  border-color: var(--border-hover);
  background: rgba(15, 23, 42, 0.04);
}

.btn--sm { padding: 8px 16px; font-size: 0.8125rem; }

/* Hero */
.hero {
  padding: calc(var(--header-h) + 40px) 0 56px;
  display: flex;
  align-items: center;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--accent);
  margin-bottom: 24px;
  animation: fadeUp 0.8s var(--ease) both;
}

.hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp 0.8s 0.1s var(--ease) both;
}

.hero__title span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.2s var(--ease) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeUp 0.8s 0.3s var(--ease) both;
}

/* Dashboard mock */
.dashboard {
  position: relative;
  animation: fadeUp 1s 0.4s var(--ease) both;
}

.dashboard__frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.dashboard__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(248, 250, 252, 0.95);
}

.dashboard__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dim);
}

.dashboard__dot:nth-child(1) { background: #ef4444; }
.dashboard__dot:nth-child(2) { background: #eab308; }
.dashboard__dot:nth-child(3) { background: #22c55e; }

.dashboard__title {
  margin-left: 12px;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.dashboard__body { padding: 20px; }

.dashboard__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-card {
  padding: 14px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border);
}

.stat-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card__label {
  font-size: 0.6875rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.ticket-list { display: flex; flex-direction: column; gap: 10px; }

.ticket {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid var(--border);
  animation: ticketFlow 4s var(--ease) infinite;
  opacity: 0;
}

.ticket:nth-child(1) { animation-delay: 0s; }
.ticket:nth-child(2) { animation-delay: 0.8s; }
.ticket:nth-child(3) { animation-delay: 1.6s; }
.ticket:nth-child(4) { animation-delay: 2.4s; }

.ticket__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.ticket__icon--ai { background: rgba(37, 99, 235, 0.12); }
.ticket__icon--done { background: rgba(22, 163, 74, 0.12); }
.ticket__icon--route { background: rgba(124, 58, 237, 0.12); }

.ticket__content { flex: 1; min-width: 0; }

.ticket__title {
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ticket__meta {
  font-size: 0.6875rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.ticket__status {
  font-size: 0.6875rem;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  flex-shrink: 0;
}

.ticket__status--processing {
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-dark);
}

.ticket__status--resolved {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(15, 23, 42, 0.06) 20%,
    rgba(37, 99, 235, 0.2) 50%,
    rgba(15, 23, 42, 0.06) 80%,
    transparent 100%
  );
  pointer-events: none;
}

.section:nth-of-type(even) {
  background: linear-gradient(
    180deg,
    #f1f5f9 0%,
    #f8fafc 55%,
    #ffffff 100%
  );
  border-top-color: rgba(37, 99, 235, 0.1);
  border-bottom-color: rgba(37, 99, 235, 0.08);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.section__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 20px;
  background: var(--gradient-subtle);
  border: 1px solid var(--border);
}

.card__title {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.card__text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Scenarios */
.scenarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.scenario {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: border-color 0.3s;
}

.scenario:hover { border-color: rgba(37, 99, 235, 0.28); }

.scenario__check {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue-dark);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.scenario__text {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.metric {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.metric__value {
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.metric__label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.why-item {
  padding: 24px;
  border-left: 2px solid transparent;
  border-image: var(--gradient) 1;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.06), transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.why-item__text {
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Cases */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.case:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.case:hover .case__visual img {
  transform: scale(1.06);
}

.case__visual {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #e2e8f0;
}

.case__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s var(--ease);
}

.case__visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(15, 23, 42, 0.35) 100%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, transparent 55%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .case__visual {
    height: 240px;
  }
}

.case__body { padding: 24px; }

.case__tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 8px;
}

.case__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.case__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Contact */
.contact {
  max-width: 560px;
  margin: 0 auto;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form__input,
.form__textarea,
.form__select {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form__textarea { resize: vertical; min-height: 120px; }

.form__select option { background: var(--bg-elevated); }

.form__group--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  min-height: 1.25rem;
  font-size: 0.875rem;
  margin: 0;
}

.form__status--error { color: #dc2626; }
.form__status--success { color: #16a34a; }

.form--submitting .btn[type="submit"] {
  opacity: 0.7;
  pointer-events: none;
}

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__copy {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: none;
}

.footer__links a:hover { color: var(--text); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframes */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes ticketFlow {
  0% { opacity: 0; transform: translateX(20px); }
  15% { opacity: 1; transform: translateX(0); }
  70% { opacity: 1; }
  100% { opacity: 0; transform: translateX(-10px); }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .dashboard {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    animation: none !important;
    pointer-events: none !important;
  }
  .cards, .cases, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .container,
  .header__inner {
    width: min(100% - 32px, var(--max-w));
  }

  .header {
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
  }

  body {
    padding-left: env(safe-area-inset-left, 0px);
    padding-right: env(safe-area-inset-right, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .logo--bracket { font-size: 1.125rem; }
  .logo--bracket .logo__muted { display: none; }

  .nav {
    gap: 6px;
    position: relative;
    margin-left: auto;
  }

  .nav__links,
  .nav .btn--sm { display: none; }

  .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    margin-right: -8px;
  }

  .lang-switch {
    margin-left: 0;
    margin-right: 0;
    position: relative;
    z-index: 2;
  }

  .lang-switch__btn {
    min-width: 40px;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 0.75rem;
  }

  .nav.open .nav__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 220px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  }

  .nav.open .nav__links a {
    padding: 12px 8px;
    font-size: 0.9375rem;
  }

  .nav.open .btn--sm {
    display: inline-flex;
    width: 100%;
    margin-top: 8px;
    justify-content: center;
    min-height: 44px;
  }

  .hero {
    padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 20px) 0 40px;
  }

  .hero__title {
    font-size: clamp(1.75rem, 8.5vw, 2.35rem);
    margin-bottom: 16px;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.9375rem;
  }

  .section {
    padding: 56px 0;
  }

  .section__header {
    margin-bottom: 36px;
    padding-bottom: 20px;
  }

  .section__desc {
    font-size: 0.9375rem;
  }

  .cards, .cases, .why-grid, .scenarios { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metric { padding: 24px 16px; }
  .metric__value { font-size: 1.625rem; }

  .card { padding: 22px; }
  .scenario { padding: 16px 18px; }

  .form__row { grid-template-columns: 1fr; }
  .form {
    padding: 20px;
    gap: 14px;
  }

  .form__input,
  .form__textarea,
  .form__select {
    font-size: 16px;
    min-height: 48px;
  }

  .form__textarea { min-height: 112px; }

  .form .btn[type="submit"] {
    width: 100%;
    min-height: 48px;
  }

  .footer {
    padding: 36px 0 calc(36px + env(safe-area-inset-bottom, 0px));
    margin-top: 24px;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
}

@media (max-width: 380px) {
  .lang-switch__btn {
    min-width: 36px;
    padding: 8px;
  }

  .metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
