
:root {
  --card: #050711;
  --accent: #1d6fff;
  --text: #f5f5f5;
  --muted: #b3b3b3;
  --border: #262938;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: #000000;
  background-image: url('images/galaxy-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 16px 72px;
}

/* TOP BRAND LOGO (UNIVERSAL) */
.top-brand {
  margin-bottom: 18px;
}

.top-brand img {
  height: 54px;
  max-width: 100%;
  display: block;
}

/* HERO SECTION */
.hero {
  display: flex;
  gap: 32px;
  align-items: center;
  margin-bottom: 32px;
  padding: 24px;
  background: radial-gradient(circle at top left, rgba(16,18,26,0.98), rgba(5,6,10,0.96));
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
}

.hero-photo {
  flex: 0 0 220px;
  max-width: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #262938;
}

.hero-photo img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 100%;
}

.hero-content {
  flex: 1;
}

.agent-brand {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.agent-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.agent-title {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.agent-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.agent-location {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 8px;
  margin-bottom: 16px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.pill {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  color: var(--muted);
  white-space: nowrap;
  background: rgba(5,7,15,0.8);
}

.pill.highlight {
  border-color: var(--accent);
  color: var(--accent);
}

/* SECTION LAYOUTS */
.grid-two {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.card {
  background: radial-gradient(circle at top left, rgba(15,18,32,0.96), rgba(4,5,11,0.96));
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 18px 18px 20px;
  box-shadow: 0 14px 32px rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
}

.card h2 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 8px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.card p {
  font-size: 0.95rem;
  color: #e4e4e4;
  margin-bottom: 8px;
}

.card ul {
  list-style: none;
  margin-top: 6px;
}

.card ul li {
  font-size: 0.92rem;
  padding-left: 14px;
  position: relative;
  color: #d7d7d7;
  margin-bottom: 4px;
}

.card ul li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
}

/* SUCCESS GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #05060a;
}

.gallery-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  height: 100%;
}

/* FORM BLOCK */
.form-block {
  margin-top: 10px;
  padding: 18px;
  border-radius: 14px;
  background: rgba(5,6,15,0.9);
  border: 1px dashed #303449;
}

.form-block h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.form-block p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.form-placeholder {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  padding: 12px;
  border-radius: 10px;
  border: 1px dashed #404458;
  text-align: center;
}

.powered-by {
  margin-top: 14px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

/* FOOTER LOGOS */
.footer-logos {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
}

.footer-logos img { height: 56px; }

/* RESPONSIVE */
@media (max-width: 820px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-photo {
    max-width: 180px;
  }

  .grid-two {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-wrap {
    padding: 24px 14px 56px;
  }
}


/* Larger Flex Fitness top logo (clean scaling, no distortion) */
.top-brand img, .header-brand img {
    width: 220px !important;
    height: auto !important;
    max-width: 100% !important;
}


/* Larger footer logos for Flex brands */
.footer-logos img { height: 56px; }

.agent-contact,
.agent-social {
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.agent-contact a,
.agent-social a {
  color: var(--accent);
  text-decoration: none;
}
.agent-contact a:hover,
.agent-social a:hover {
  text-decoration: underline;
}
