@font-face {
  font-family: 'Ponomar-Regular';
  font-display: swap;
  src: url('../fonts/Ponomar-Regular/font.woff2') format('woff2'),
       url('../fonts/Ponomar-Regular/font.ttf') format('truetype');
}
:root {
  --smes-bg: #0c090b;
  --smes-surface: #161115;
  --smes-card: #1f171d;
  --smes-border: rgba(212, 163, 89, 0.22);
  --smes-gold: #d4a359;
  --smes-gold-light: #f6e099;
  --smes-ruby: #c81e45;
  --smes-ruby-hover: #a31536;
  --smes-text: #faf6f0;
  --smes-muted: #d6cbd1;
  --smes-dim: #9e8f97;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--smes-text);
  background-color: var(--smes-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--smes-gold); text-decoration: none; transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease; }
a:hover { color: var(--smes-gold-light); }
h1, h2, h3, h4 {
  margin-top: 0;
  margin-bottom: 0.85rem;
  font-family: 'Ponomar-Regular', 'Georgia', 'Times New Roman', serif;
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
}
p { margin-top: 0; margin-bottom: 1.15rem; color: var(--smes-muted); }
ul, ol { margin-top: 0; margin-bottom: 1.3rem; padding-left: 1.4rem; color: var(--smes-muted); }
li { margin-bottom: 0.6rem; }
strong { color: #ffffff; font-weight: 700; }

.smes-shell {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Transparent Floating Header */
.smes-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid rgba(212, 163, 89, 0.14);
}
.smes-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.25rem;
}
.smes-logo {
  display: inline-flex;
  align-items: center;
}
.smes-logo img {
  height: 46px;
  width: auto;
}
.smes-toggle {
  display: none;
  background: rgba(22, 17, 21, 0.82);
  border: 1px solid var(--smes-border);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
}
.smes-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--smes-gold-light);
  margin: 4px 0;
  border-radius: 2px;
}
.smes-nav-list {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.smes-nav-list a {
  color: #ffffff;
  font-weight: 600;
  font-size: 0.94rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.smes-nav-list a:hover { color: var(--smes-gold-light); }
.smes-nav-cta {
  background: linear-gradient(135deg, var(--smes-ruby) 0%, #991233 100%);
  color: #ffffff !important;
  padding: 0.62rem 1.35rem;
  border-radius: 50px;
  font-weight: 700 !important;
  border: 1px solid rgba(246, 224, 153, 0.35);
  box-shadow: 0 6px 18px rgba(200, 30, 69, 0.38);
}
.smes-nav-cta:hover {
  background: var(--smes-ruby-hover);
  transform: translateY(-1px);
}
@media (max-width: 980px) {
  .smes-toggle { display: inline-block; }
  .smes-nav-panel {
    display: none;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    background: rgba(22, 17, 21, 0.98);
    backdrop-filter: blur(14px);
    padding: 1.35rem;
    border-radius: 16px;
    border: 1px solid var(--smes-border);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.65);
  }
  .smes-nav-panel.is-open { display: block; }
  .smes-nav-list { flex-direction: column; align-items: stretch; gap: 0.85rem; width: 100%; }
  .smes-nav-list li { margin-bottom: 0; }
  .smes-nav-cta { display: inline-flex; justify-content: center; width: 100%; text-align: center; margin-top: 0.25rem; }
}

/* Fullscreen Hero (100vh/100dvh on Desktop & Mobile) */
.smes-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 84px 0 32px;
  background-color: var(--smes-bg);
  overflow: visible;
}
.smes-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.smes-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.smes-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 9, 11, 0.46) 0%, rgba(12, 9, 11, 0.66) 55%, rgba(12, 9, 11, 0.95) 100%);
  z-index: 1;
}
.smes-hero-box {
  position: relative;
  z-index: 2;
  max-width: 890px;
  margin: 0 auto;
  text-align: center;
}
.smes-kicker {
  display: inline-block;
  background: rgba(212, 163, 89, 0.16);
  border: 1px solid rgba(212, 163, 89, 0.45);
  color: var(--smes-gold-light);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.36rem 1.05rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}
.smes-hero h1 {
  font-size: clamp(2.2rem, 4.7vw, 3.7rem);
  line-height: 1.14;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.75);
}
.smes-hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  color: #f1e9ec;
  max-width: 750px;
  margin: 0 auto 2.1rem;
  line-height: 1.64;
}
.smes-btn-ruby {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--smes-ruby) 0%, #991233 100%);
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  padding: 0.98rem 2.4rem;
  border-radius: 50px;
  border: 1px solid rgba(246, 224, 153, 0.4);
  box-shadow: 0 10px 28px rgba(200, 30, 69, 0.42);
  text-align: center;
}
.smes-btn-ruby:hover {
  background: var(--smes-ruby-hover);
  transform: translateY(-2px);
}
.smes-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--smes-gold) 0%, #a8762d 100%);
  color: #0c090b !important;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  padding: 0.9rem 2.15rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(212, 163, 89, 0.32);
  text-align: center;
}
.smes-btn-gold:hover {
  background: var(--smes-gold-light);
  transform: translateY(-2px);
}
.smes-trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  font-size: 0.88rem;
  color: var(--smes-muted);
}

/* Sections */
.smes-sec { padding: 5rem 0; background: var(--smes-bg); }
.smes-sec--alt { padding: 5rem 0; background: var(--smes-surface); border-top: 1px solid var(--smes-border); border-bottom: 1px solid var(--smes-border); }
.smes-sec-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}
.smes-sec-head h2 { font-size: clamp(1.85rem, 3.3vw, 2.65rem); margin-bottom: 0.75rem; color: var(--smes-gold-light); }

/* Intro Prose Box */
.smes-intro-panel {
  background: var(--smes-card);
  border: 1px solid var(--smes-border);
  border-radius: 20px;
  padding: 3rem;
  max-width: 940px;
  margin: 0 auto;
}
.smes-intro-panel h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); color: var(--smes-gold-light); margin-bottom: 1.2rem; }

/* Testimonials Duo */
.smes-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}
.smes-story-card {
  background: var(--smes-card);
  border: 1px solid var(--smes-border);
  border-top: 3px solid var(--smes-gold);
  border-radius: 18px;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.smes-story-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.smes-story-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--smes-gold);
}
.smes-story-author strong { display: block; font-size: 1.08rem; color: #ffffff; }
.smes-story-author span { font-size: 0.88rem; color: var(--smes-gold); }

/* Split Feature Row */
.smes-split {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 3rem;
  align-items: center;
}
.smes-split--reverse {
  grid-template-columns: 7.5fr 4.5fr;
}
@media (max-width: 880px) {
  .smes-split, .smes-split--reverse { grid-template-columns: 1fr; gap: 2rem; }
}
.smes-portrait-frame {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--smes-border);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.5);
  max-width: 450px;
  margin: 0 auto;
}
.smes-portrait-frame img { width: 100%; height: auto; object-fit: cover; }

/* City Showcase Horizontal Cards (Home) */
.smes-city-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.smes-city-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  background: var(--smes-card);
  border: 1px solid var(--smes-border);
  border-radius: 18px;
  padding: 1.5rem;
  align-items: center;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.smes-city-row:hover {
  transform: translateY(-2px);
  border-color: var(--smes-gold);
}
@media (max-width: 720px) {
  .smes-city-row { grid-template-columns: 1fr; gap: 1.15rem; padding: 1.2rem; }
  .smes-city-row img { aspect-ratio: 16 / 10; max-height: 220px; }
}
.smes-city-row img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}
.smes-city-row h3 { font-size: 1.55rem; margin-bottom: 0.5rem; }
.smes-city-row h3 a { color: var(--smes-gold-light); }

/* Member Profiles Grid (8 Cards) */
.smes-profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}
.smes-profile-card {
  background: var(--smes-card);
  border: 1px solid var(--smes-border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.smes-profile-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #120d10;
}
.smes-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.smes-profile-body {
  padding: 1.35rem;
  text-align: center;
  flex-grow: 1;
}
.smes-profile-body h3 { font-size: 1.22rem; margin-bottom: 0.25rem; color: #ffffff; }
.smes-profile-role {
  display: inline-block;
  font-size: 0.84rem;
  color: var(--smes-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.smes-profile-body p { font-size: 0.94rem; margin-bottom: 0; line-height: 1.56; }

/* Feature Grid / Zone Bento */
.smes-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}
.smes-bento-card {
  background: var(--smes-card);
  border: 1px solid var(--smes-border);
  border-radius: 16px;
  padding: 1.85rem;
}
.smes-bento-card h3 { color: var(--smes-gold-light); font-size: 1.32rem; margin-bottom: 0.6rem; }
.smes-bento-tag {
  display: inline-block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--smes-gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Glossary Definition List */
.smes-glossary {
  background: var(--smes-card);
  border: 1px solid var(--smes-border);
  border-left: 4px solid var(--smes-gold);
  border-radius: 16px;
  padding: 2.25rem;
  max-width: 940px;
  margin: 2rem auto 0;
}
.smes-glossary dt {
  font-family: 'Ponomar-Regular', Georgia, serif;
  font-size: 1.35rem;
  color: var(--smes-gold-light);
  margin-top: 1.35rem;
}
.smes-glossary dt:first-child { margin-top: 0; }
.smes-glossary dd {
  margin: 0.45rem 0 0 0;
  color: var(--smes-muted);
}

/* FAQ Accordion */
.smes-faq-stack {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.smes-faq-item {
  background: var(--smes-card);
  border: 1px solid var(--smes-border);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
}
.smes-faq-item summary {
  font-weight: 700;
  font-size: 1.08rem;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.smes-faq-item summary::-webkit-details-marker { display: none; }
.smes-faq-item summary::after {
  content: "+";
  color: var(--smes-gold);
  font-size: 1.45rem;
  font-weight: 700;
  flex-shrink: 0;
}
.smes-faq-item[open] summary::after { content: "−"; }
.smes-faq-ans {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.smes-faq-ans p { margin-bottom: 0; }

/* Footer */
.smes-footer {
  background: #070507;
  border-top: 2px solid var(--smes-border);
  padding: 4.5rem 0 2.5rem;
  color: var(--smes-dim);
}
.smes-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.25rem;
}
@media (max-width: 860px) {
  .smes-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .smes-footer-grid { grid-template-columns: 1fr; }
}
.smes-footer h3 {
  font-size: 1.12rem;
  color: var(--smes-gold-light);
  margin-bottom: 1rem;
}
.smes-footer ul { list-style: none; padding: 0; margin: 0; }
.smes-footer li { margin-bottom: 0.65rem; font-size: 0.94rem; }
.smes-footer a { color: var(--smes-muted); }
.smes-footer a:hover { color: var(--smes-gold-light); }
.smes-footer-bottom {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.85rem;
  color: var(--smes-dim);
}

/* Interactive Matchmaker Funnel & Custom Inline Dropdowns */
.smes-hero-funnel {
  margin: 0.85rem 0 0.85rem;
  padding: 1.1rem 1.35rem;
  background: rgba(12, 9, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 163, 89, 0.35);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: left;
}
.smes-funnel-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--smes-gold-light);
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}
.smes-funnel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: flex-end;
  width: 100%;
}
.smes-funnel-col {
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
  width: 100%;
}
.smes-funnel-sublabel {
  font-size: 0.82rem;
  color: var(--smes-dim);
  margin-bottom: 0.35rem;
  font-weight: 500;
}
.smes-funnel-select,
.smes-dropdown-trigger {
  width: 100%;
  background: #1f171d;
  color: var(--smes-text);
  border: 1px solid rgba(212, 163, 89, 0.38);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}
.smes-custom-dropdown {
  position: relative;
  width: 100%;
}
.smes-dropdown-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  text-align: left;
}
.smes-dropdown-trigger:hover {
  border-color: var(--smes-gold);
}
.smes-custom-dropdown.is-open .smes-dropdown-trigger {
  border-color: var(--smes-gold);
  box-shadow: 0 0 0 2px rgba(212, 163, 89, 0.25);
}
.smes-dropdown-val {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.smes-dropdown-arrow {
  color: var(--smes-gold-light);
  font-size: 0.8rem;
  line-height: 1;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.smes-custom-dropdown.is-open .smes-dropdown-arrow {
  transform: rotate(180deg);
}
.smes-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 90;
  list-style: none;
  margin: 0;
  padding: 5px;
  background: #1a1218;
  border: 1px solid rgba(212, 163, 89, 0.55);
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.82);
  max-height: 215px;
  overflow-y: auto;
}
.smes-custom-dropdown.is-open .smes-dropdown-menu {
  display: block;
}
.smes-dropdown-item {
  padding: 0.52rem 0.75rem;
  margin: 0;
  border-radius: 7px;
  font-size: 0.88rem;
  color: var(--smes-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: background 0.15s ease, color 0.15s ease;
}
.smes-dropdown-item:hover {
  background: rgba(212, 163, 89, 0.16);
  color: #ffffff;
}
.smes-dropdown-item.is-selected {
  background: rgba(212, 163, 89, 0.24);
  color: var(--smes-gold-light);
  font-weight: 600;
}
.smes-dropdown-item.is-selected::after {
  content: "✓";
  color: var(--smes-gold-light);
  font-size: 0.84rem;
  flex-shrink: 0;
}
.smes-funnel-action {
  align-self: flex-end;
}
.smes-funnel-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.4rem;
  font-size: 0.95rem;
}
@media (max-width: 820px) {
  .smes-funnel-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.65rem;
  }
  .smes-funnel-action {
    width: 100%;
    margin-top: 0.15rem;
  }
  .smes-funnel-btn {
    width: 100%;
    max-width: 100%;
    white-space: normal;
  }
}
@media (max-width: 640px) {
  .smes-shell { padding: 0 16px; }
  .smes-navbar { min-height: 68px; }
  .smes-logo img { height: 40px; max-width: 195px; }
  .smes-nav-panel { top: 68px; left: 12px; right: 12px; padding: 1.25rem; }
  .smes-hero { padding: 92px 0 40px; }
  .smes-hero-funnel { margin: 1rem 0 1rem; padding: 1rem 1.05rem; }
  .smes-btn-ruby, .smes-btn-gold { max-width: 100%; }
  .smes-sec, .smes-sec--alt { padding: 3.5rem 0; }
  .smes-sec-head { margin-bottom: 2rem; }
  .smes-intro-panel { padding: 1.75rem 1.3rem; }
  .smes-stories-grid { gap: 1.35rem; }
  .smes-story-card { padding: 1.5rem; }
  .smes-bento-grid { gap: 1.25rem; }
  .smes-bento-card { padding: 1.4rem; }
  .smes-profiles-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .smes-profile-body { padding: 1rem 0.85rem; }
  .smes-glossary { padding: 1.5rem 1.25rem; }
  .smes-faq-item { padding: 1.05rem 1.2rem; }
  .smes-footer { padding: 3.2rem 0 2rem; }
}
@media (max-width: 360px) {
  .smes-profiles-grid { grid-template-columns: 1fr; }
}
