/* ================================================================
   US Tax Consultants — Canal de Denuncias (Blazor Server)
   Paleta: Navy #1a2744 · Dorado #c9a84c · Off-white #f8f7f4
   Tipografía: Cormorant Garamond (display) + Mulish (body)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Mulish:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #1a2744;
  --navy-light: #243460;
  --navy-dark: #0f1929;
  --gold: #c9a84c;
  --gold-light: #e2c97a;
  --gold-pale: #f5edd5;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray-50: #fafafa;
  --gray-100: #f2f2f2;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --success: #15803d;
  --error: #c0392b;
  --border: #dde1e9;
  --shadow: 0 4px 24px rgba(26,39,68,.09);
  --shadow-lg: 0 12px 48px rgba(26,39,68,.15);
  --radius: 8px;
  --radius-lg: 14px;
  --nav-h: 64px;
  --container: 900px;
}

*, *::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: 'Mulish', sans-serif;
  background: var(--off-white);
  color: var(--gray-700);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── PAGE WRAPPER ─────────────────────────────────── */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-main {
  flex: 1;
}

/* ═══════════════════════════════════════════════════
   TOP NAV
═══════════════════════════════════════════════════ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy-dark);
  border-bottom: 2px solid var(--gold);
  height: var(--nav-h);
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.top-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-brand-main {
  /*font-family: 'Cormorant Garamond', serif;*/
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
}

.nav-brand-sub {
  color: rgba(255,255,255,.5);
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
}

.nav-link {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius);
  transition: all .18s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

  .nav-link:hover {
    background: rgba(255,255,255,.08);
    color: var(--white);
  }

.nav-link-ext {
  color: rgba(201,168,76,.75);
  font-size: .77rem;
}

  .nav-link-ext:hover {
    color: var(--gold);
    background: rgba(201,168,76,.08);
  }

/* ── LANGUAGE SELECTOR ──────────────────────────── */
.lang-selector {
  position: relative;
  margin-left: 8px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  border-radius: var(--radius);
  padding: 6px 10px;
  cursor: pointer;
  font-family: 'Mulish', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  transition: all .18s;
  white-space: nowrap;
}

  .lang-btn:hover {
    background: rgba(255,255,255,.14);
    border-color: var(--gold);
  }

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-code {
  font-size: .75rem;
  letter-spacing: .05em;
}

.lang-chevron {
  font-size: .65rem;
  transition: transform .2s;
  opacity: .7;
}

  .lang-chevron.open {
    transform: rotate(180deg);
  }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  min-width: 150px;
  overflow: hidden;
  z-index: 300;
  animation: dropIn .15s ease;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  padding: 11px 16px;
  font-family: 'Mulish', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  transition: all .15s;
  text-align: left;
}

  .lang-option:hover {
    background: rgba(255,255,255,.07);
    color: var(--white);
  }

  .lang-option.active {
    color: var(--gold);
    background: rgba(201,168,76,.08);
  }

  .lang-option span {
    font-size: 1.1rem;
  }

/* ── MOBILE RIGHT + HAMBURGER ─────────────────────── */
.nav-mobile-right {
  display: none;
  align-items: center;
  gap: 8px;
  position: relative;
}

.lang-btn-mobile {
  padding: 5px 8px;
  font-size: .76rem;
}

.lang-dropdown-mobile {
  right: 0;
  top: calc(100% + 8px);
  min-width: 140px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  transition: background .18s;
}

  .hamburger:hover {
    background: rgba(255,255,255,.1);
  }

  .hamburger span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .25s ease;
    width: 100%;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

/* ── MOBILE DRAWER ────────────────────────────────── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.07);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

  .mobile-menu.open {
    max-height: 280px;
  }

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: all .15s;
}

  .mobile-nav-link:hover {
    background: rgba(255,255,255,.06);
    color: var(--white);
  }

.mobile-nav-ext {
  color: rgba(201,168,76,.75);
}

  .mobile-nav-ext:hover {
    color: var(--gold);
  }

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  padding: 64px 24px 72px;
  text-align: center;
  overflow: hidden;
}

.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 48px 24px 56px;
  text-align: center;
  overflow: hidden;
}

  .page-hero::before, .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  .page-hero::after, .hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  }

.hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.gold-text {
  color: var(--gold);
}

.hero-subtitle {
  color: rgba(255,255,255,.75);
  font-size: clamp(.9rem, 2.5vw, 1rem);
  font-weight: 300;
  margin-bottom: 26px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(201,168,76,.16);
  border: 1px solid rgba(201,168,76,.38);
  color: var(--gold-light);
  padding: 5px 13px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════
   MAIN CONTAINER
═══════════════════════════════════════════════════ */
.main-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 20px 56px;
}

/* ── SECTION INTRO ────────────────────────────────── */
.section-intro {
  text-align: center;
  margin-bottom: 44px;
}

  .section-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 4vw, 1.9rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
  }

  .section-intro > p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: .97rem;
  }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  text-align: left;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  transition: box-shadow .2s, transform .2s;
}

  .info-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }

.info-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.info-card p {
  font-size: .845rem;
  color: var(--gray-500);
}

/* ── FORM SECTION ─────────────────────────────────── */
.form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 24px 28px;
  border-bottom: 3px solid var(--gold);
}

  .form-header h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--white);
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 4px;
  }

  .form-header p {
    color: rgba(255,255,255,.6);
    font-size: .84rem;
  }

.complaint-form {
  padding: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.required-star {
  color: var(--error);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Mulish', sans-serif;
  font-size: .9rem;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
  outline: none;
  -webkit-appearance: none;
}

  .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,.14);
  }

.textarea-large {
  resize: vertical;
  min-height: 150px;
}

.char-count-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 4px;
}

.char-count {
  font-size: .74rem;
  color: var(--gray-500);
  white-space: nowrap;
  margin-left: 6px;
}

.separator-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 20px;
}

.separator-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.separator-text {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gray-500);
  white-space: nowrap;
}

.anonymous-notice {
  display: flex;
  gap: 10px;
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: .855rem;
  color: var(--gray-700);
}

.notice-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.checkbox-group {
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .855rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.checkbox-input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

.policy-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}

  .policy-link:hover {
    color: var(--gold);
  }

.alert {
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: .855rem;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--error);
}

.validation-message {
  color: var(--error);
  font-size: .78rem;
  margin-top: 3px;
  display: block;
}

/* ── BUTTONS ──────────────────────────────────────── */
.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: 'Mulish', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s;
  letter-spacing: .02em;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
}

  .btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
  }

  .btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,39,68,.25);
  }

  .btn-primary:disabled {
    opacity: .65;
    cursor: not-allowed;
  }

.btn-secondary {
  background: transparent;
  color: var(--gray-500);
  border: 1.5px solid var(--gray-300);
  padding: 11px 18px;
  border-radius: var(--radius);
  font-family: 'Mulish', sans-serif;
  font-size: .855rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}

  .btn-secondary:hover {
    border-color: var(--navy);
    color: var(--navy);
  }

.spinner {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── CONFIRMATION ─────────────────────────────────── */
.confirmation-section {
  display: flex;
  justify-content: center;
}

.confirmation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 40px);
  max-width: 580px;
  width: 100%;
  text-align: center;
}

.confirmation-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.confirmation-card h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.confirmation-message {
  color: var(--gray-500);
  margin-bottom: 26px;
  font-size: .95rem;
}

.tracking-box {
  background: var(--navy-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 26px;
}

.tracking-label {
  color: rgba(255,255,255,.55);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
  font-weight: 700;
}

.tracking-code {
  font-family: 'Courier New', monospace;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 10px;
  word-break: break-all;
}

.tracking-hint {
  color: rgba(255,255,255,.45);
  font-size: .79rem;
  line-height: 1.5;
}

.next-steps {
  text-align: left;
  margin-bottom: 26px;
}

  .next-steps h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
  }

.steps-list {
  padding-left: 18px;
  color: var(--gray-700);
  font-size: .865rem;
  line-height: 1.8;
}

  .steps-list li {
    margin-bottom: 4px;
  }

.confirmation-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   TRACKING PAGE
═══════════════════════════════════════════════════ */
.tracking-search-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px 24px;
  margin-bottom: 28px;
  border-top: 3px solid var(--gold);
}

.tracking-search-inner {
  max-width: 560px;
  margin: 0 auto;
}

.tracking-search-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.tracking-input {
  flex: 1;
  font-family: 'Courier New', monospace;
  letter-spacing: .03em;
  min-width: 0;
}

.tracking-result-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-header-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-left: 4px solid var(--gold);
  flex-wrap: wrap;
}

.result-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.result-status-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.result-code {
  font-family: 'Courier New', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
  word-break: break-all;
}

.result-category {
  font-size: .84rem;
  color: var(--gray-500);
  margin-top: 3px;
}

.result-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.result-date {
  font-size: .76rem;
  color: var(--gray-500);
}

.status-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.status-received {
  background: #e8f0fe;
  color: #1a56db;
}

.status-review {
  background: #fef9c3;
  color: #854d0e;
}

.status-investigating {
  background: #ede9fe;
  color: #5b21b6;
}

.status-resolved {
  background: #dcfce7;
  color: var(--success);
}

.status-archived {
  background: var(--gray-100);
  color: var(--gray-500);
}

.detail-grid {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-label {
  font-size: .73rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.detail-value {
  font-size: .875rem;
  color: var(--navy);
  font-weight: 600;
}

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-pale);
}

/* ── STEPPER ──────────────────────────────────────── */
.stepper-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px 20px 28px;
}

/* Stepper — two-row layout:
   Row 1: connector line + circles (positioned absolutely over the line)
   Row 2: labels centered under each circle
   The connector row is a shared full-width track; circles sit centered on it. */

.stepper {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

/* Each step takes equal space; column layout centers circle + text */
.stepper-item {
  flex: 1;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* The top row holds circle + connector in a single flex row.
   Circle is centered; connector stretches from circle edge to next circle edge. */
.stepper-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
}

/* Connector line sits behind the circle, spanning from center-to-center.
   Left half of first item hidden; right half of last item hidden via :first-child/:last-child. */
.stepper-item:not(:last-child) .stepper-top::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--gray-200);
  transform: translateY(-50%);
  z-index: 0;
  transition: background .3s;
}

.stepper-item.completed:not(:last-child) .stepper-top::after {
  background: var(--success);
}

.stepper-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
  transition: all .25s;
}

.stepper-item.completed .stepper-circle {
  background: var(--success);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(21,128,61,.15);
}

.stepper-item.active .stepper-circle {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(26,39,68,.18);
}

.stepper-item.pending .stepper-circle {
  background: var(--gray-100);
  color: var(--gray-500);
  border: 2px solid var(--gray-200);
}

.stepper-dot-active {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .6;
    transform: scale(.7)
  }
}

/* Remove old connector element — no longer needed */
.stepper-connector {
  display: none;
}

.stepper-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
  padding: 0 4px;
}

.stepper-item.pending .stepper-label {
  color: #9ca3af;
}

.stepper-sublabel {
  font-size: .68rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 3px;
  line-height: 1.3;
  padding: 0 4px;
}

/* ── TIMELINE ─────────────────────────────────────── */
.timeline-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
}

  .timeline-item:last-child {
    padding-bottom: 0;
  }

.timeline-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

  .timeline-dot.status-received {
    background: #e8f0fe;
  }

  .timeline-dot.status-review {
    background: #fef9c3;
  }

  .timeline-dot.status-investigating {
    background: #ede9fe;
  }

  .timeline-dot.status-resolved {
    background: #dcfce7;
  }

  .timeline-dot.status-archived {
    background: var(--gray-100);
  }

.timeline-line {
  flex: 1;
  width: 2px;
  background: var(--gray-200);
  margin-top: 5px;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-content {
  flex: 1;
  padding-top: 3px;
  min-width: 0;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.timeline-status-label {
  font-size: .73rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 100px;
  letter-spacing: .05em;
}

.timeline-date {
  font-size: .74rem;
  color: var(--gray-500);
}

.timeline-author {
  font-size: .78rem;
  color: var(--gray-500);
  margin-bottom: 5px;
  font-style: italic;
}

.timeline-message {
  font-size: .875rem;
  color: var(--gray-700);
  line-height: 1.55;
  background: var(--gray-50);
  border-left: 3px solid var(--gold);
  padding: 9px 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── LEGAL DEADLINE ───────────────────────────────── */
.legal-deadline-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,.75);
  font-size: .855rem;
  line-height: 1.5;
}

.deadline-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
}

.deadline-content strong {
  color: var(--gold);
  display: block;
  margin-bottom: 5px;
  font-size: .92rem;
}

.deadline-content p {
  margin-bottom: 3px;
}

/* ── NOT FOUND ────────────────────────────────────── */
.not-found-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 44px) clamp(20px, 5vw, 32px);
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.not-found-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.not-found-card h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.not-found-card > p {
  color: var(--gray-500);
  margin-bottom: 16px;
}

.not-found-hints {
  text-align: left;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 14px 14px 14px 28px;
  font-size: .855rem;
  color: var(--gray-700);
  line-height: 1.7;
}

  .not-found-hints li {
    margin-bottom: 3px;
  }

code {
  font-family: 'Courier New', monospace;
  background: var(--gray-100);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: .85em;
}

/* ── INFO PANEL ───────────────────────────────────── */
.info-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}

.info-panel-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.info-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.info-panel-item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid var(--border);
}

.info-panel-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.info-panel-item strong {
  font-size: .88rem;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.info-panel-item p {
  font-size: .8rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.55);
}

.footer-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 20px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  display: block;
  /*font-family: 'Cormorant Garamond', serif;*/
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.footer-tagline {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
}

.footer-info p {
  font-size: .79rem;
  margin-bottom: 5px;
}

.footer-info strong {
  color: rgba(255,255,255,.8);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

  .footer-legal a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: .79rem;
    transition: color .15s;
  }

    .footer-legal a:hover {
      color: var(--gold);
    }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  padding: 13px 20px;
  font-size: .74rem;
  color: rgba(255,255,255,.28);
}

/* ── BLAZOR ERROR UI ──────────────────────────────── */
#blazor-error-ui {
  background: var(--error);
  bottom: 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,.2);
  color: white;
  display: none;
  font-size: .855rem;
  left: 0;
  padding: 12px 20px;
  position: fixed;
  right: 0;
  z-index: 9999;
  text-align: center;
}

  #blazor-error-ui .reload, #blazor-error-ui .dismiss {
    cursor: pointer;
    color: white;
    font-weight: 700;
    margin-left: 12px;
    text-decoration: underline;
  }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (max 768px)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-mobile-right {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero-section {
    padding: 48px 20px 56px;
  }

  .page-hero {
    padding: 36px 20px 44px;
  }

  .hero-subtitle br {
    display: none;
  }

  /* Info grid — 2 cols on tablet */
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max 520px)
═══════════════════════════════════════════════════ */
@media (max-width: 520px) {
  :root {
    --nav-h: 58px;
  }

  /* Nav brand */
  .nav-brand-main {
    font-size: .95rem;
  }

  .nav-brand-sub {
    display: none;
  }

  /* Hero */
  .hero-section {
    padding: 40px 16px 48px;
  }

  .page-hero {
    padding: 28px 16px 36px;
  }

  .hero-badges {
    gap: 6px;
  }

  .badge {
    font-size: .72rem;
    padding: 4px 10px;
  }

  /* Container */
  .main-container {
    padding: 24px 16px 40px;
  }

  /* Info grid — 1 col on mobile */
  .info-grid {
    grid-template-columns: 1fr;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

    .form-row .form-group {
      margin-bottom: 20px;
    }

  .complaint-form {
    padding: 20px 16px;
  }

  .form-header {
    padding: 18px 16px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .separator-text {
    font-size: .58rem;
  }

  /* Tracking search */
  .tracking-search-card {
    padding: 18px 16px;
  }

  .tracking-search-row {
    flex-direction: column;
  }

    .tracking-search-row .btn-primary {
      width: 100%;
      justify-content: center;
    }

  /* Result header */
  .result-header-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .result-header-right {
    align-items: flex-start;
  }

  /* Detail grid */
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Stepper: hide sublabels */
  .stepper-sublabel {
    display: none;
  }

  .stepper-circle {
    width: 32px;
    height: 32px;
    font-size: .75rem;
  }

  /* Confirmation */
  .confirmation-card {
    padding: 24px 16px;
  }

  .confirmation-actions {
    flex-direction: column;
    align-items: stretch;
  }

    .confirmation-actions .btn-primary,
    .confirmation-actions .btn-secondary {
      width: 100%;
      justify-content: center;
    }

  /* Not found */
  .not-found-card {
    padding: 24px 16px;
  }

  /* Info panel */
  .info-panel {
    padding: 20px 16px;
  }

  .info-panel-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 16px 20px;
  }

  /* Lang dropdown full width on mobile */
  .lang-dropdown-mobile {
    right: auto;
    left: 0;
    min-width: 140px;
  }
}

/* ── Very small phones ────────────────────────────── */
@media (max-width: 360px) {
  .nav-brand-main {
    font-size: .85rem;
  }

  .nav-logo-icon {
    font-size: 1.2rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}
/* ================================================================
   US Tax Consultants — Canal de Denuncias (Blazor Server)
   Paleta: Navy #1a2744 · Dorado #c9a84c · Off-white #f8f7f4
   Tipografía: Cormorant Garamond (display) + Mulish (body)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Mulish:wght@300;400;500;600;700&display=swap');

:root {
  --navy: #1a2744;
  --navy-light: #243460;
  --navy-dark: #0f1929;
  --gold: #c9a84c;
  --gold-light: #e2c97a;
  --gold-pale: #f5edd5;
  --white: #ffffff;
  --off-white: #f8f7f4;
  --gray-50: #fafafa;
  --gray-100: #f2f2f2;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --success: #15803d;
  --error: #c0392b;
  --border: #dde1e9;
  --shadow: 0 4px 24px rgba(26,39,68,.09);
  --shadow-lg: 0 12px 48px rgba(26,39,68,.15);
  --radius: 8px;
  --radius-lg: 14px;
  --nav-h: 64px;
  --container: 900px;
}

*, *::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: 'Mulish', sans-serif;
  background: var(--off-white);
  color: var(--gray-700);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── PAGE WRAPPER ─────────────────────────────────── */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-main {
  flex: 1;
}

/* ═══════════════════════════════════════════════════
   TOP NAV
═══════════════════════════════════════════════════ */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--navy-dark);
  border-bottom: 2px solid var(--gold);
  height: var(--nav-h);
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}

.top-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-brand-main {
  /*font-family: 'Cormorant Garamond', serif;*/
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
}

.nav-brand-sub {
  color: rgba(255,255,255,.5);
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
}

.nav-link {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: var(--radius);
  transition: all .18s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

  .nav-link:hover {
    background: rgba(255,255,255,.08);
    color: var(--white);
  }

.nav-link-ext {
  color: rgba(201,168,76,.75);
  font-size: .77rem;
}

  .nav-link-ext:hover {
    color: var(--gold);
    background: rgba(201,168,76,.08);
  }

/* ── LANGUAGE SELECTOR ──────────────────────────── */
.lang-selector {
  position: relative;
  margin-left: 8px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--white);
  border-radius: var(--radius);
  padding: 6px 10px;
  cursor: pointer;
  font-family: 'Mulish', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  transition: all .18s;
  white-space: nowrap;
}

  .lang-btn:hover {
    background: rgba(255,255,255,.14);
    border-color: var(--gold);
  }

.lang-flag {
  font-size: 1rem;
  line-height: 1;
}

.lang-code {
  font-size: .75rem;
  letter-spacing: .05em;
}

.lang-chevron {
  font-size: .65rem;
  transition: transform .2s;
  opacity: .7;
}

  .lang-chevron.open {
    transform: rotate(180deg);
  }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  min-width: 150px;
  overflow: hidden;
  z-index: 300;
  animation: dropIn .15s ease;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  padding: 11px 16px;
  font-family: 'Mulish', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  transition: all .15s;
  text-align: left;
}

  .lang-option:hover {
    background: rgba(255,255,255,.07);
    color: var(--white);
  }

  .lang-option.active {
    color: var(--gold);
    background: rgba(201,168,76,.08);
  }

  .lang-option span {
    font-size: 1.1rem;
  }

/* ── MOBILE RIGHT + HAMBURGER ─────────────────────── */
.nav-mobile-right {
  display: none;
  align-items: center;
  gap: 8px;
  position: relative;
}

.lang-btn-mobile {
  padding: 5px 8px;
  font-size: .76rem;
}

.lang-dropdown-mobile {
  right: 0;
  top: calc(100% + 8px);
  min-width: 140px;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  transition: background .18s;
}

  .hamburger:hover {
    background: rgba(255,255,255,.1);
  }

  .hamburger span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all .25s ease;
    width: 100%;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

/* ── MOBILE DRAWER ────────────────────────────────── */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.07);
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}

  .mobile-menu.open {
    max-height: 280px;
  }

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 600;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: all .15s;
}

  .mobile-nav-link:hover {
    background: rgba(255,255,255,.06);
    color: var(--white);
  }

.mobile-nav-ext {
  color: rgba(201,168,76,.75);
}

  .mobile-nav-ext:hover {
    color: var(--gold);
  }

/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(2px);
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  padding: 64px 24px 72px;
  text-align: center;
  overflow: hidden;
}

.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 48px 24px 56px;
  text-align: center;
  overflow: hidden;
}

  .page-hero::before, .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  .page-hero::after, .hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  }

.hero-content {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
}

.gold-text {
  color: var(--gold);
}

.hero-subtitle {
  color: rgba(255,255,255,.75);
  font-size: clamp(.9rem, 2.5vw, 1rem);
  font-weight: 300;
  margin-bottom: 26px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge {
  background: rgba(201,168,76,.16);
  border: 1px solid rgba(201,168,76,.38);
  color: var(--gold-light);
  padding: 5px 13px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════════
   MAIN CONTAINER
═══════════════════════════════════════════════════ */
.main-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 20px 56px;
}

/* ── SECTION INTRO ────────────────────────────────── */
.section-intro {
  text-align: center;
  margin-bottom: 44px;
}

  .section-intro h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 4vw, 1.9rem);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
  }

  .section-intro > p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: .97rem;
  }

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  text-align: left;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  transition: box-shadow .2s, transform .2s;
}

  .info-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }

.info-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.info-card p {
  font-size: .845rem;
  color: var(--gray-500);
}

/* ── FORM SECTION ─────────────────────────────────── */
.form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 24px 28px;
  border-bottom: 3px solid var(--gold);
}

  .form-header h2 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--white);
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    margin-bottom: 4px;
  }

  .form-header p {
    color: rgba(255,255,255,.6);
    font-size: .84rem;
  }

.complaint-form {
  padding: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  font-size: .82rem;
  color: var(--navy);
  margin-bottom: 6px;
  letter-spacing: .01em;
  text-transform: uppercase;
}

.required-star {
  color: var(--error);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Mulish', sans-serif;
  font-size: .9rem;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .18s, box-shadow .18s;
  appearance: none;
  outline: none;
  -webkit-appearance: none;
}

  .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,168,76,.14);
  }

.textarea-large {
  resize: vertical;
  min-height: 150px;
}

.char-count-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 4px;
}

.char-count {
  font-size: .74rem;
  color: var(--gray-500);
  white-space: nowrap;
  margin-left: 6px;
}

.separator-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 20px;
}

.separator-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.separator-text {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--gray-500);
  white-space: nowrap;
}

.anonymous-notice {
  display: flex;
  gap: 10px;
  background: var(--gold-pale);
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 20px;
  font-size: .855rem;
  color: var(--gray-700);
}

.notice-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.checkbox-group {
  margin-top: 4px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: .855rem;
  color: var(--gray-700);
  line-height: 1.5;
}

.checkbox-input {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: var(--navy);
  flex-shrink: 0;
  cursor: pointer;
}

.policy-link {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
}

  .policy-link:hover {
    color: var(--gold);
  }

.alert {
  padding: 11px 14px;
  border-radius: var(--radius);
  font-size: .855rem;
  margin-bottom: 16px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: var(--error);
}

.validation-message {
  color: var(--error);
  font-size: .78rem;
  margin-top: 3px;
  display: block;
}

/* ── BUTTONS ──────────────────────────────────────── */
.form-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  border: none;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-family: 'Mulish', sans-serif;
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .18s;
  letter-spacing: .02em;
  position: relative;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
}

  .btn-primary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
  }

  .btn-primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,39,68,.25);
  }

  .btn-primary:disabled {
    opacity: .65;
    cursor: not-allowed;
  }

.btn-secondary {
  background: transparent;
  color: var(--gray-500);
  border: 1.5px solid var(--gray-300);
  padding: 11px 18px;
  border-radius: var(--radius);
  font-family: 'Mulish', sans-serif;
  font-size: .855rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}

  .btn-secondary:hover {
    border-color: var(--navy);
    color: var(--navy);
  }

.spinner {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── CONFIRMATION ─────────────────────────────────── */
.confirmation-section {
  display: flex;
  justify-content: center;
}

.confirmation-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(28px, 5vw, 48px) clamp(20px, 5vw, 40px);
  max-width: 580px;
  width: 100%;
  text-align: center;
}

.confirmation-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.confirmation-card h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.confirmation-message {
  color: var(--gray-500);
  margin-bottom: 26px;
  font-size: .95rem;
}

.tracking-box {
  background: var(--navy-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 26px;
}

.tracking-label {
  color: rgba(255,255,255,.55);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 10px;
  font-weight: 700;
}

.tracking-code {
  font-family: 'Courier New', monospace;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .1em;
  margin-bottom: 10px;
  word-break: break-all;
}

.tracking-hint {
  color: rgba(255,255,255,.45);
  font-size: .79rem;
  line-height: 1.5;
}

.next-steps {
  text-align: left;
  margin-bottom: 26px;
}

  .next-steps h3 {
    font-family: 'Cormorant Garamond', serif;
    color: var(--navy);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
  }

.steps-list {
  padding-left: 18px;
  color: var(--gray-700);
  font-size: .865rem;
  line-height: 1.8;
}

  .steps-list li {
    margin-bottom: 4px;
  }

.confirmation-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   TRACKING PAGE
═══════════════════════════════════════════════════ */
.tracking-search-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px 24px;
  margin-bottom: 28px;
  border-top: 3px solid var(--gold);
}

.tracking-search-inner {
  max-width: 560px;
  margin: 0 auto;
}

.tracking-search-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.tracking-input {
  flex: 1;
  font-family: 'Courier New', monospace;
  letter-spacing: .03em;
  min-width: 0;
}

.tracking-result-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-header-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-left: 4px solid var(--gold);
  flex-wrap: wrap;
}

.result-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.result-status-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.result-code {
  font-family: 'Courier New', monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .06em;
  word-break: break-all;
}

.result-category {
  font-size: .84rem;
  color: var(--gray-500);
  margin-top: 3px;
}

.result-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
}

.result-date {
  font-size: .76rem;
  color: var(--gray-500);
}

.status-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.status-received {
  background: #e8f0fe;
  color: #1a56db;
}

.status-review {
  background: #fef9c3;
  color: #854d0e;
}

.status-investigating {
  background: #ede9fe;
  color: #5b21b6;
}

.status-resolved {
  background: #dcfce7;
  color: var(--success);
}

.status-archived {
  background: var(--gray-100);
  color: var(--gray-500);
}

.detail-grid {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.detail-label {
  font-size: .73rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.detail-value {
  font-size: .875rem;
  color: var(--navy);
  font-weight: 600;
}

.section-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-pale);
}

/* ── STEPPER ──────────────────────────────────────── */
.stepper-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px 20px 28px;
}

/* Stepper — two-row layout:
   Row 1: connector line + circles (positioned absolutely over the line)
   Row 2: labels centered under each circle
   The connector row is a shared full-width track; circles sit centered on it. */

.stepper {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

/* Each step takes equal space; column layout centers circle + text */
.stepper-item {
  flex: 1;
  min-width: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* The top row holds circle + connector in a single flex row.
   Circle is centered; connector stretches from circle edge to next circle edge. */
.stepper-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
}

/* Connector line sits behind the circle, spanning from center-to-center.
   Left half of first item hidden; right half of last item hidden via :first-child/:last-child. */
.stepper-item:not(:last-child) .stepper-top::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--gray-200);
  transform: translateY(-50%);
  z-index: 0;
  transition: background .3s;
}

.stepper-item.completed:not(:last-child) .stepper-top::after {
  background: var(--success);
}

.stepper-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .82rem;
  font-weight: 700;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
  transition: all .25s;
}

.stepper-item.completed .stepper-circle {
  background: var(--success);
  color: var(--white);
  box-shadow: 0 0 0 3px rgba(21,128,61,.15);
}

.stepper-item.active .stepper-circle {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 0 0 4px rgba(26,39,68,.18);
}

.stepper-item.pending .stepper-circle {
  background: var(--gray-100);
  color: var(--gray-500);
  border: 2px solid var(--gray-200);
}

.stepper-dot-active {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .6;
    transform: scale(.7)
  }
}

/* Remove old connector element — no longer needed */
.stepper-connector {
  display: none;
}

.stepper-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  line-height: 1.3;
  padding: 0 4px;
}

.stepper-item.pending .stepper-label {
  color: #9ca3af;
}

.stepper-sublabel {
  font-size: .68rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 3px;
  line-height: 1.3;
  padding: 0 4px;
}

/* ── TIMELINE ─────────────────────────────────────── */
.timeline-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
}

  .timeline-item:last-child {
    padding-bottom: 0;
  }

.timeline-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
}

  .timeline-dot.status-received {
    background: #e8f0fe;
  }

  .timeline-dot.status-review {
    background: #fef9c3;
  }

  .timeline-dot.status-investigating {
    background: #ede9fe;
  }

  .timeline-dot.status-resolved {
    background: #dcfce7;
  }

  .timeline-dot.status-archived {
    background: var(--gray-100);
  }

.timeline-line {
  flex: 1;
  width: 2px;
  background: var(--gray-200);
  margin-top: 5px;
}

.timeline-item:last-child .timeline-line {
  display: none;
}

.timeline-content {
  flex: 1;
  padding-top: 3px;
  min-width: 0;
}

.timeline-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 3px;
  flex-wrap: wrap;
}

.timeline-status-label {
  font-size: .73rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 100px;
  letter-spacing: .05em;
}

.timeline-date {
  font-size: .74rem;
  color: var(--gray-500);
}

.timeline-author {
  font-size: .78rem;
  color: var(--gray-500);
  margin-bottom: 5px;
  font-style: italic;
}

.timeline-message {
  font-size: .875rem;
  color: var(--gray-700);
  line-height: 1.55;
  background: var(--gray-50);
  border-left: 3px solid var(--gold);
  padding: 9px 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── LEGAL DEADLINE ───────────────────────────────── */
.legal-deadline-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(255,255,255,.75);
  font-size: .855rem;
  line-height: 1.5;
}

.deadline-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
}

.deadline-content strong {
  color: var(--gold);
  display: block;
  margin-bottom: 5px;
  font-size: .92rem;
}

.deadline-content p {
  margin-bottom: 3px;
}

/* ── NOT FOUND ────────────────────────────────────── */
.not-found-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(28px, 5vw, 44px) clamp(20px, 5vw, 32px);
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.not-found-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.not-found-card h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.not-found-card > p {
  color: var(--gray-500);
  margin-bottom: 16px;
}

.not-found-hints {
  text-align: left;
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 14px 14px 14px 28px;
  font-size: .855rem;
  color: var(--gray-700);
  line-height: 1.7;
}

  .not-found-hints li {
    margin-bottom: 3px;
  }

code {
  font-family: 'Courier New', monospace;
  background: var(--gray-100);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: .85em;
}

/* ── INFO PANEL ───────────────────────────────────── */
.info-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}

.info-panel-title {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

.info-panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}

.info-panel-item {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--off-white);
  border: 1px solid var(--border);
}

.info-panel-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}

.info-panel-item strong {
  font-size: .88rem;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
}

.info-panel-item p {
  font-size: .8rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.55);
}

.footer-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px 20px 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.footer-logo {
  display: block;
  /*font-family: 'Cormorant Garamond', serif;*/
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.footer-tagline {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
}

.footer-info p {
  font-size: .79rem;
  margin-bottom: 5px;
}

.footer-info strong {
  color: rgba(255,255,255,.8);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

  .footer-legal a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    font-size: .79rem;
    transition: color .15s;
  }

    .footer-legal a:hover {
      color: var(--gold);
    }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  padding: 13px 20px;
  font-size: .74rem;
  color: rgba(255,255,255,.28);
}

/* ── BLAZOR ERROR UI ──────────────────────────────── */
#blazor-error-ui {
  background: var(--error);
  bottom: 0;
  box-shadow: 0 -2px 8px rgba(0,0,0,.2);
  color: white;
  display: none;
  font-size: .855rem;
  left: 0;
  padding: 12px 20px;
  position: fixed;
  right: 0;
  z-index: 9999;
  text-align: center;
}

  #blazor-error-ui .reload, #blazor-error-ui .dismiss {
    cursor: pointer;
    color: white;
    font-weight: 700;
    margin-left: 12px;
    text-decoration: underline;
  }

/* ═══════════════════════════════════════════════════
   RESPONSIVE — TABLET (max 768px)
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Nav */
  .nav-links {
    display: none;
  }

  .nav-mobile-right {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  /* Hero */
  .hero-section {
    padding: 48px 20px 56px;
  }

  .page-hero {
    padding: 36px 20px 44px;
  }

  .hero-subtitle br {
    display: none;
  }

  /* Info grid — 2 cols on tablet */
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max 520px)
═══════════════════════════════════════════════════ */
@media (max-width: 520px) {
  :root {
    --nav-h: 58px;
  }

  /* Nav brand */
  .nav-brand-main {
    font-size: .95rem;
  }

  .nav-brand-sub {
    display: none;
  }

  /* Hero */
  .hero-section {
    padding: 40px 16px 48px;
  }

  .page-hero {
    padding: 28px 16px 36px;
  }

  .hero-badges {
    gap: 6px;
  }

  .badge {
    font-size: .72rem;
    padding: 4px 10px;
  }

  /* Container */
  .main-container {
    padding: 24px 16px 40px;
  }

  /* Info grid — 1 col on mobile */
  .info-grid {
    grid-template-columns: 1fr;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

    .form-row .form-group {
      margin-bottom: 20px;
    }

  .complaint-form {
    padding: 20px 16px;
  }

  .form-header {
    padding: 18px 16px;
  }

  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .separator-text {
    font-size: .58rem;
  }

  /* Tracking search */
  .tracking-search-card {
    padding: 18px 16px;
  }

  .tracking-search-row {
    flex-direction: column;
  }

    .tracking-search-row .btn-primary {
      width: 100%;
      justify-content: center;
    }

  /* Result header */
  .result-header-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .result-header-right {
    align-items: flex-start;
  }

  /* Detail grid */
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Stepper: hide sublabels */
  .stepper-sublabel {
    display: none;
  }

  .stepper-circle {
    width: 32px;
    height: 32px;
    font-size: .75rem;
  }

  /* Confirmation */
  .confirmation-card {
    padding: 24px 16px;
  }

  .confirmation-actions {
    flex-direction: column;
    align-items: stretch;
  }

    .confirmation-actions .btn-primary,
    .confirmation-actions .btn-secondary {
      width: 100%;
      justify-content: center;
    }

  /* Not found */
  .not-found-card {
    padding: 24px 16px;
  }

  /* Info panel */
  .info-panel {
    padding: 20px 16px;
  }

  .info-panel-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 16px 20px;
  }

  /* Lang dropdown full width on mobile */
  .lang-dropdown-mobile {
    right: auto;
    left: 0;
    min-width: 140px;
  }
}

/* ── Very small phones ────────────────────────────── */
@media (max-width: 360px) {
  .nav-brand-main {
    font-size: .85rem;
  }

  .nav-logo-icon {
    font-size: 1.2rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }
}
