:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --primary-soft: #EFF6FF;
  --bg-dark: #0F172A;
  --bg-dark-elevated: #1E293B;
  --bg-light: #F8FAFC;
  --bg-paper: #FFFFFF;
  --bg-warm: #F4F1EA;
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #F8FAFC;
  --border-subtle: #E2E8F0;
  --accent-gold: #B45309;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 48px rgba(15, 23, 42, 0.18);
  --container-max: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.2;
  margin-top: 0;
  color: var(--text-main);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.top-bar {
  background: var(--bg-dark);
  color: #CBD5E1;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 0;
}

.top-bar-items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.top-bar-item a:hover {
  color: #FFFFFF;
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
}

.logo-contrast-box {
  background: #FFFFFF;
  padding: 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-contrast-box img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-title {
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #FFFFFF;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #94A3B8;
  letter-spacing: 0.03em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  white-space: nowrap;
  line-height: 1.2;
  padding: 6px 10px;
  min-height: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: #E2E8F0;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
}

.main-nav a.nav-highlight {
  background: var(--primary);
  color: #FFFFFF;
  padding: 6px 14px;
}

.main-nav a.nav-highlight:hover {
  background: var(--primary-dark);
}

.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  min-height: 40px;
}

.hero-editorial {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #172554 100%);
  color: var(--text-light);
  padding: 72px 0 88px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-kicker {
  display: inline-block;
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.45);
  color: #93C5FD;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-editorial h1 {
  color: #FFFFFF;
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  margin-bottom: 18px;
}

.hero-quote {
  font-family: "Georgia", "Times New Roman", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #BFDBFE;
  border-left: 3px solid var(--primary);
  padding-left: 16px;
  margin: 0 0 20px;
}

.hero-lead {
  font-size: 1.05rem;
  color: #CBD5E1;
  margin: 0 0 28px;
  max-width: 600px;
}

.btn-group,
.hero-cta-group,
.filter-tabs,
.modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.btn-group > *,
.hero-cta-group > *,
.filter-tabs > *,
.modal-actions > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  box-sizing: border-box;
  min-height: 44px;
  line-height: 1.25;
}

.btn {
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn-outline-dark {
  background: #FFFFFF;
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-outline-dark:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-media-wrap {
  position: relative;
}

.hero-photo-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: var(--bg-dark-elevated);
}

.hero-photo-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease;
}

.hero-photo-frame:hover img {
  transform: scale(1.04);
}

.floating-stat-card {
  position: relative;
  margin: -34px 18px 0;
  background: rgba(255, 255, 255, 0.97);
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 4px solid var(--primary);
}

.floating-stat-item {
  text-align: center;
}

.floating-stat-num {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.floating-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.3;
}

.section {
  padding: 76px 0;
}

.section-warm {
  background: var(--bg-warm);
}

.section-paper {
  background: var(--bg-paper);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.section-dark h2,
.section-dark h3 {
  color: #FFFFFF;
}

.section-header {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-dark .section-eyebrow {
  color: #93C5FD;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.02rem;
}

.section-dark .section-header p {
  color: #CBD5E1;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: start;
}

.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--primary);
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.timeline-item {
  position: relative;
  background: var(--bg-paper);
  padding: 20px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -41px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-warm);
}

.timeline-year {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.timeline-item h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.timeline-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.story-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.story-photo-card {
  position: relative;
  display: grid;
  grid-template-columns: 155px 1fr;
  align-items: stretch;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-paper);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.story-photo-box {
  overflow: hidden;
  min-height: 190px;
  background: #F1F5F9;
}

.story-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.story-photo-card:hover .story-photo-box img {
  transform: scale(1.06);
}

.story-photo-caption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 20px 22px;
  font-size: 0.94rem;
  line-height: 1.55;
  text-align: left;
  color: var(--text-muted);
}

.story-photo-caption strong {
  color: var(--text-main);
  font-size: 1.05rem;
  line-height: 1.3;
  display: block;
  margin: 0;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.filter-btn {
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-paper);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
}

.search-box-wrap {
  min-width: 0;
  max-width: 100%;
  width: 280px;
  box-sizing: border-box;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.catalog-item {
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.catalog-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.catalog-item.is-hidden {
  display: none;
}

.catalog-media {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
}

.catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #FFFFFF;
  padding: 12px;
  transition: transform 0.45s ease;
}

.catalog-item:hover .catalog-media img {
  transform: scale(1.06);
}

.cat-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bg-dark);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.catalog-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.item-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.item-desc {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin: 0 0 16px;
}

.spec-list {
  margin: 0 0 20px;
  padding: 0;
  border-top: 1px solid var(--border-subtle);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.88rem;
}

.spec-label {
  font-weight: 600;
  color: var(--text-main);
  margin: 0;
}

.spec-val {
  color: var(--text-muted);
  margin: 0;
  text-align: right;
}

.catalog-footer {
  margin-top: auto;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.case-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 28px;
}

.case-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #93C5FD;
  background: rgba(37, 99, 235, 0.25);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.case-card p {
  color: #CBD5E1;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.case-metric-box {
  background: rgba(15, 23, 42, 0.7);
  padding: 12px;
  border-radius: var(--radius-sm);
}

.case-metric-box span {
  display: block;
  font-size: 0.78rem;
  color: #94A3B8;
}

.case-metric-box strong {
  font-size: 1rem;
  color: #FFFFFF;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.review-quote {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
  flex: 1;
}

.review-author {
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.review-author strong {
  font-size: 0.94rem;
  color: var(--text-main);
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reviews-cta-wrap {
  margin-top: 32px;
  justify-content: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-card,
.map-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.form-field.full {
  grid-column: span 2;
}

.form-field label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
}

select,
input,
textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  padding: 11px 14px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  background: #FFFFFF;
  color: var(--text-main);
}

textarea {
  white-space: normal;
  overflow: auto;
  min-height: 110px;
  resize: vertical;
}

select:focus,
input:focus,
textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.25);
  border-color: var(--primary);
}

.form-feedback {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 0.9rem;
  display: none;
}

.form-feedback.visible {
  display: block;
}

.map-frame-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-top: 16px;
}

.map-frame-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.info-list li span {
  color: var(--text-muted);
  flex-shrink: 0;
}

.info-list li strong {
  text-align: right;
  flex: 1 1 200px;
  overflow-wrap: break-word;
}

.site-footer {
  background: var(--bg-dark);
  color: #CBD5E1;
  padding: 52px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.site-footer h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
  color: #94A3B8;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-paper);
  color: var(--text-main);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
}

.modal-media {
  height: 220px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin: 14px 0 18px;
  overflow: hidden;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
  background: #FFFFFF;
}

.modal-highlights {
  margin: 16px 0 22px;
  padding-left: 20px;
  color: var(--text-muted);
}

.modal-highlights li {
  margin-bottom: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 900px) {
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 10px 12px;
  }

  .hero-grid,
  .story-grid,
  .catalog-grid,
  .cases-grid,
  .reviews-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-list li strong {
    text-align: left;
  }

  .story-photo-card {
    grid-template-columns: 1fr;
  }

  .story-photo-box {
    min-height: 220px;
    max-height: 260px;
  }

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

  .form-field.full {
    grid-column: span 1;
  }

  .floating-stat-card {
    margin: 16px 0 0;
    grid-template-columns: repeat(3, 1fr);
  }

  .search-box-wrap {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .top-bar-item {
    white-space: normal;
  }

  .brand-title {
    font-size: 0.96rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
    line-height: 1.25;
  }

  .floating-stat-card {
    grid-template-columns: 1fr;
  }

  .case-metrics {
    grid-template-columns: 1fr;
  }
}

.btn,
button,
[role="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
html, body {
  max-width: 100%;
  overflow-x: clip;
}
header nav a, .nav a, .nav-link, .nav-menu a, .navbar a,
.btn, .btn-primary, .btn-secondary, button, [role="button"], .filter-btn, .tab-btn, .chip, .badge, .tag {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
header nav a:not(.btn):not(.cta-btn):not(.nav-btn),
.nav a:not(.btn):not(.cta-btn),
.nav-links a:not(.btn):not(.cta-btn) {
  min-height: 0 !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  line-height: 1.2 !important;
}
header .btn, header .btn-primary, header .btn-secondary, header .cta-btn, header .nav-btn {
  min-height: 0 !important;
  padding: 7px 14px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
button.btn, a.btn, .btn-primary, .btn-secondary, .btn-outline, .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  min-height: 44px;
  line-height: 1.25;
  box-sizing: border-box;
}
.btn-group, .hero-cta-group, .hero-actions, .hero-buttons, .cta-group, .filter-tabs, .modal-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.btn-group > *, .hero-cta-group > *, .hero-actions > *, .hero-buttons > *, .cta-group > *, .filter-tabs > *, .modal-actions > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
