
: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 {
  /* Larger + more premium presence (requested) */
  height: 128px;
  max-width: 100%;
  display: block;
}

.top-brand {
  display: flex;
  justify-content: flex-start;
}

/* 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;
  /* Bobby-style: fewer columns + larger tiles within the left column */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #05060a;
  /* Force consistent tile sizing so portraits don't collapse into tiny thumbnails */
  aspect-ratio: 3 / 4;
}

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

/* Responsive tweaks */
@media (max-width: 980px) {
  .hero { flex-direction: column; align-items: stretch; }
  .hero-photo { max-width: 320px; width: 100%; }
  .grid-two { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .top-brand img { height: 92px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Responsive refinements */
@media (max-width: 900px) {
  .top-brand img { height: 110px; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .top-brand img { height: 84px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 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;
}


/* GHL UNIVERSAL INTAKE EMBED */
.fns-intake-wrap{
  width: 100%;
}

/* Critical: give the iframe a real height so it never collapses */
#inline-e0gIJA05q2xEsEQKo0h5{
  width: 100%;
  height: 1981px;
  min-height: 900px;
}

.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: 26px;
  opacity: 0.8;
  display: block;
}

/* 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;
  }

  /* Slightly taller on mobile to avoid internal scroll cutoff */
  #inline-e0gIJA05q2xEsEQKo0h5{
    height: 2100px;
  }
}

/* ===== UNIVERSAL TEMPLATE: MATCH JOSE TOP LOGO SIZE ===== */
.top-brand img,
.brand-logo,
.header-logo img {
  height: 120px !important;
  width: auto !important;
  max-width: 95vw !important;
  display: block !important;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  .top-brand img,
  .brand-logo,
  .header-logo img {
    height: 96px !important;
    max-width: 92vw !important;
  }
}


/* CONTACT LINKS (HERO) */
.contact-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 6px 0 14px;
}
.contact-link{
  font-size: 0.9rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(29,111,255,0.35);
  padding-bottom: 2px;
}
.contact-link:hover{
  border-bottom-color: var(--accent);
}

/* CLIENT WINS (match Bobby look): larger tiles + consistent portrait framing */
.gallery.client-wins{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery.client-wins .gallery-item{
  aspect-ratio: 3 / 4;
}
.gallery.client-wins .gallery-item img{
  height: 100%;
}

@media (max-width: 1024px){
  .gallery.client-wins{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px){
  .gallery.client-wins{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .top-brand img{
    height: 72px;
  }
}

/* WHY FLEX IMAGE */
.why-flex-media{
  margin: 10px 0 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #05060a;
}
.why-flex-img{
  width: 100%;
  display: block;
  object-fit: cover;
}

