/* ==========================================================================
   Treuhandliste.ch – Swiss Trust Company Directory
   Professional Swiss-inspired design
   ========================================================================== */

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

:root {
  --color-navy: #1B2A4A;
  --color-navy-light: #2A3F6A;
  --color-navy-dark: #111D35;
  --color-red: #E31E24;
  --color-red-dark: #C41A1F;
  --color-white: #FFFFFF;
  --color-gray-50: #F8F9FA;
  --color-gray-100: #F1F3F5;
  --color-gray-200: #E9ECEF;
  --color-gray-300: #DEE2E6;
  --color-gray-400: #CED4DA;
  --color-gray-500: #ADB5BD;
  --color-gray-600: #6C757D;
  --color-gray-700: #495057;
  --color-gray-800: #343A40;
  --color-gray-900: #212529;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --transition: 0.2s ease;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-gray-900);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-red);
}

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

h1, h2, h3, h4 {
  line-height: 1.25;
  color: var(--color-navy);
  font-weight: 700;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.6rem; margin-bottom: 1rem; }
h3 { font-size: 1.15rem; }

p { margin-bottom: 0.75rem; }

code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  font-size: 0.875em;
  background: var(--color-gray-100);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--color-gray-700);
}

/* ---------- Utility: Container ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.4;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn-primary:hover {
  background-color: var(--color-red-dark);
  border-color: var(--color-red-dark);
  color: var(--color-white);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-outline:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn-block {
  display: block;
  width: 100%;
}

/* ---------- Badges ---------- */
.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-canton {
  background-color: var(--color-navy);
  color: var(--color-white);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo:hover { color: var(--color-navy); }

.logo svg {
  width: 36px;
  height: 36px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}

header nav {
  display: flex;
  gap: 0.25rem;
}

header nav a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

header nav a:hover {
  color: var(--color-navy);
  background-color: var(--color-gray-100);
}

header nav a.active {
  color: var(--color-red);
  font-weight: 600;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 1.25rem 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 480px;
}

.hero-small {
  min-height: auto;
  padding: 3.5rem 1.25rem 3rem;
}

.hero-content {
  max-width: 780px;
  width: 100%;
}

.hero h1 {
  color: var(--color-white);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-small h1 {
  font-size: 2rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-small .hero-subtitle {
  margin-bottom: 0;
}

/* Hero search */
.hero-search {
  display: flex;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-search input {
  flex: 1;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: none;
  outline: none;
  font-family: var(--font-family);
}

.hero-search input::placeholder {
  color: var(--color-gray-500);
}

.hero-search button {
  padding: 1rem 1.75rem;
  background-color: var(--color-red);
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: var(--font-family);
  transition: background-color var(--transition);
}

.hero-search button:hover {
  background-color: var(--color-red-dark);
}

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-stats .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
}

.hero-stats .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Breadcrumb in hero */
.breadcrumb {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.breadcrumb span {
  color: var(--color-white);
  font-weight: 500;
}

/* ==========================================================================
   SEARCH SECTION
   ========================================================================== */
.search-section {
  padding: 4rem 0;
  background-color: var(--color-gray-50);
}

.search-section h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.search-filters {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.search-filters input,
.search-filters select {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-family);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  color: var(--color-gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.search-filters input:focus,
.search-filters select:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.12);
}

.search-filters input::placeholder {
  color: var(--color-gray-500);
}

.results-info {
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--color-gray-600);
  font-weight: 500;
}

/* No results */
.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-gray-600);
  font-size: 1.05rem;
}

/* Load more */
.load-more-container {
  text-align: center;
  margin-top: 2rem;
}

/* ==========================================================================
   COMPANY GRID & CARDS
   ========================================================================== */
.company-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.company-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.company-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.company-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 0.75rem;
  border-bottom: 1px solid var(--color-gray-100);
}

.company-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  flex: 1;
}

.company-card-header h3 a {
  color: var(--color-navy);
  text-decoration: none;
}

.company-card-header h3 a:hover {
  color: var(--color-red);
}

.company-card-body {
  padding: 0.85rem 1.25rem;
  flex: 1;
}

.company-detail {
  font-size: 0.88rem;
  color: var(--color-gray-700);
  margin-bottom: 0.35rem;
  line-height: 1.45;
}

.company-detail .label {
  font-weight: 600;
  color: var(--color-gray-800);
}

.company-detail a {
  color: var(--color-navy);
}

.company-detail a:hover {
  color: var(--color-red);
  text-decoration: underline;
}

.company-card-footer {
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--color-gray-100);
  background-color: var(--color-gray-50);
}

.company-card-footer .btn {
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
}

/* ==========================================================================
   KANTONE SECTION
   ========================================================================== */
.kantone-section {
  padding: 4rem 0 5rem;
  background-color: var(--color-white);
}

.kantone-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--color-gray-600);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.canton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 1rem;
}

.canton-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 1.35rem 1rem;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.canton-card:hover {
  border-color: var(--color-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.canton-code {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: 0.02em;
}

.canton-card:hover .canton-code {
  color: var(--color-red);
}

.canton-name {
  font-size: 0.82rem;
  color: var(--color-gray-700);
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.canton-count {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  font-weight: 600;
}

/* ==========================================================================
   CONTENT SECTION (Firma detail & Kanton pages)
   ========================================================================== */
.content-section {
  padding: 3rem 0 4rem;
  background-color: var(--color-gray-50);
}

/* ---- Firma profile layout ---- */
.firma-profile {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  margin-bottom: 3rem;
}

.firma-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.firma-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Detail card */
.detail-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.detail-card h2 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-red);
}

.detail-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--color-gray-200);
}

.detail-card p {
  color: var(--color-gray-700);
  line-height: 1.7;
}

.detail-card p a {
  color: var(--color-red);
  font-weight: 500;
}

.detail-card p a:hover {
  text-decoration: underline;
}

/* Detail table */
.detail-table {
  width: 100%;
  border-collapse: collapse;
}

.detail-table tr {
  border-bottom: 1px solid var(--color-gray-100);
}

.detail-table tr:last-child {
  border-bottom: none;
}

.detail-table th,
.detail-table td {
  padding: 0.7rem 0;
  font-size: 0.92rem;
  text-align: left;
  vertical-align: top;
}

.detail-table th {
  width: 160px;
  font-weight: 600;
  color: var(--color-gray-700);
  padding-right: 1rem;
}

.detail-table td {
  color: var(--color-gray-900);
}

.detail-table td a {
  color: var(--color-red);
  font-weight: 500;
}

.detail-table td a:hover {
  text-decoration: underline;
}

/* Quick info (sidebar) */
.quick-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-gray-700);
  line-height: 1.45;
}

.info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  line-height: 1.3;
}

/* Back links */
.back-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   KANTON PAGE – Stats & Cities
   ========================================================================== */
.canton-stats {
  margin-bottom: 2.5rem;
}

.canton-stats h2 {
  margin-bottom: 1.25rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-navy);
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Rechtsform stats bar */
.rechtsform-stats {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.stat-item .stat-label {
  color: var(--color-gray-700);
  font-weight: 500;
}

.stat-item .stat-value {
  font-weight: 700;
  color: var(--color-navy);
}

/* Cities list */
.cities-list {
  font-size: 0.9rem;
  color: var(--color-gray-700);
  line-height: 1.8;
  padding: 1rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
}

.city-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background-color: var(--color-gray-100);
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--color-gray-700);
  margin: 2px 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-section h3 {
  color: var(--color-white);
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.footer-section p strong {
  color: var(--color-white);
}

.footer-section p a,
.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
}

.footer-section p a:hover,
.footer-section a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-canton-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
}

.footer-canton-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-canton-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 992px) {
  .firma-profile {
    grid-template-columns: 1fr;
  }

  .firma-sidebar {
    order: -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-grid .footer-section:first-child {
    grid-column: 1 / -1;
  }
}

/* Mobile landscape */
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }

  .hero {
    padding: 4rem 1rem 3.5rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-small h1 {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-search {
    flex-direction: column;
    border-radius: var(--radius-sm);
  }

  .hero-search input {
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  }

  .hero-search button {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    padding: 0.85rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .hero-stats .stat-number {
    font-size: 1.5rem;
  }

  .search-filters {
    flex-direction: column;
  }

  .search-filters input,
  .search-filters select {
    min-width: 100%;
  }

  .company-grid {
    grid-template-columns: 1fr;
  }

  .canton-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .firma-sidebar {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .header-container {
    height: 56px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  header nav a {
    padding: 0.4rem 0.65rem;
    font-size: 0.82rem;
  }

  .detail-table th {
    width: 120px;
    font-size: 0.85rem;
  }

  .detail-table td {
    font-size: 0.85rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.5rem;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-stats .stat {
    flex-direction: row;
    gap: 0.5rem;
  }

  .hero-stats .stat-number {
    font-size: 1.25rem;
  }

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

  .canton-card {
    padding: 1rem 0.5rem;
  }

  .canton-code {
    font-size: 1.3rem;
  }

  .canton-name {
    font-size: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
    text-align: left;
  }

  .back-links {
    flex-direction: column;
  }

  .back-links .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   CLAIM & FORM STYLES
   ========================================================================== */

/* Claim Card in Sidebar */
.claim-card {
  background: linear-gradient(135deg, #FEF7F7, var(--color-white));
  border: 2px solid var(--color-red);
  text-align: center;
}
.claim-card h3 {
  border-bottom: none;
  padding-bottom: 0;
  color: var(--color-navy);
}
.claim-card p {
  font-size: 0.88rem;
  color: var(--color-gray-600);
  line-height: 1.5;
}
.claim-card .btn {
  margin-top: 0.75rem;
}
.claim-note {
  font-size: 0.78rem !important;
  color: var(--color-gray-500) !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

/* Form Styles */
.claim-form .form-group {
  margin-bottom: 1.25rem;
}
.claim-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-gray-800);
  margin-bottom: 0.35rem;
}
.claim-form input,
.claim-form select,
.claim-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-family);
  border: 1px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.claim-form input:focus,
.claim-form select:focus,
.claim-form textarea:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(27, 42, 74, 0.12);
}
.claim-form textarea {
  min-height: 120px;
  resize: vertical;
}
.claim-form input[readonly] {
  background: var(--color-gray-100);
  color: var(--color-gray-600);
  cursor: not-allowed;
}
.claim-form .hint {
  font-size: 0.8rem;
  color: var(--color-gray-500);
  margin-top: 0.25rem;
  margin-bottom: 0;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}
.form-disclaimer {
  font-size: 0.78rem !important;
  color: var(--color-gray-500) !important;
  text-align: center;
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

/* Success State */
.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.form-success h2 {
  color: var(--color-navy);
  border: none;
  padding: 0;
  margin-bottom: 1rem;
}
.form-success p {
  color: var(--color-gray-600);
}
.success-icon {
  width: 64px;
  height: 64px;
  line-height: 64px;
  border-radius: 50%;
  background: #D4EDDA;
  color: #28A745;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  font-weight: bold;
}

/* Benefit Card */
.benefit-card h3 {
  border-bottom: none;
  padding-bottom: 0;
}
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.benefit-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.benefit-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1.3;
}
.benefit-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-navy);
  margin-bottom: 0.15rem;
}
.benefit-item p {
  font-size: 0.82rem;
  color: var(--color-gray-600);
  margin: 0;
  line-height: 1.4;
}

/* Steps List */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.step-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.step-number {
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 700;
  flex-shrink: 0;
}
.step-item p {
  font-size: 0.88rem;
  color: var(--color-gray-700);
  margin: 0;
}

/* Trust Card */
.trust-card {
  background: var(--color-gray-50);
  border-color: var(--color-gray-200);
}
.trust-text {
  font-size: 0.85rem !important;
  margin-bottom: 0.5rem !important;
  color: var(--color-gray-700) !important;
}
.trust-text:last-child {
  margin-bottom: 0 !important;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item strong {
  font-size: 0.88rem;
  color: var(--color-navy);
  display: block;
  margin-bottom: 0.2rem;
}
.faq-item p {
  font-size: 0.82rem;
  color: var(--color-gray-600);
  margin: 0;
  line-height: 1.5;
}

/* Responsive for forms */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}


/* Canton Card with Background Image */
.canton-card {
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 140px;
  justify-content: flex-end;
  border: none;
}
.canton-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,42,74,0.85) 0%, rgba(27,42,74,0.3) 60%, rgba(27,42,74,0.1) 100%);
  z-index: 1;
  transition: background var(--transition);
}
.canton-card:hover::before {
  background: linear-gradient(to top, rgba(227,30,36,0.85) 0%, rgba(27,42,74,0.3) 60%, rgba(27,42,74,0.1) 100%);
}
.canton-card > * {
  position: relative;
  z-index: 2;
}
.canton-code {
  color: var(--color-white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.canton-card:hover .canton-code {
  color: var(--color-white);
}
.canton-name {
  color: rgba(255,255,255,0.95);
}
.canton-count {
  color: rgba(255,255,255,0.75);
}
